The essay is satire. Swift the writer doesn't mean it seriously. He is writing in the voice of reasonable, but uncompassionate speaker. He is poking fun at politicians and economists who offer simple solutions to complex problems.
The modest proposal is to eat the children of the poor to solve the issues of overpopulation, malnutrition and poverty