Given population growth, it's not obvious to me that more people lived until 5k years ago than since then.
That's true, the population estimates used in the models James cites are dominated by the agricultural era. But the claim that half of deaths are due to malaria is based on the contrary assumption that most humans lived in subsaharan Africa.
Here is some commentary on the two most popular models.
“In 2015, there were roughly 214 million malaria cases and an estimated 438 000 malaria deaths.” While we don’t know how many humans malaria has killed, an estimate of half of everyone who has ever died isn’t absurd. Because few people in rich countries get malaria, pharmaceutical companies put relatively few resources into combating it.
The best way to eliminate malaria is probably to use gene drives to completely eradicate the species of mosquitoes that bite humans, but until recently rich countries haven’t been motivated to such xenocide. The Zika virus, which is in mosquitoes in the United States, provides effective altruists with an opportunity to advocate for exterminating all species of mosquitoes that spread disease to humans because the horrifying and disgusting pictures of babies with Zika might make the American public receptive to our arguments. A leading short-term goal of effective altruists, I propose, should be advocating for mosquito eradication in the short window before rich people get acclimated to pictures of Zika babies.
Personally, I have (unsuccessfully) pitched articles on mosquito eradication to two magazines and (with a bit more success) emailed someone who knows someone who knows someone in the Trump campaign to attempt to get the candidate to come out in favor of mosquito eradication. What have you done? Given the enormous harm mosquitoes inflict on mankind, doing just a little (such as writing a blog post) could have a high expected payoff.