Not sure there is a sensible way to "choose" the outcome of having 5% population.
Reducing the fertility rate already happens on a steep level, even if the fertility rate is reduced to something like 0.1 births per woman, it will still take 50-70 years for that to have a meaningful effect on the population size.
The only way to reduce climate change via population control would be to kill the large majority of the world's population. And we know that it won't hit the wealthy high-polluters.
The other way would be to limit the pollution per person, at least until the natural population decline has gone far enough that we don't have a climate change problem any more.
That's, btw, the only thing that's something of a reason to be optimistic: Climate change is dependant on the population, so if the world population drops back to a few 100 millon, climate change will also go back down comparatively rapidly (in the order of maybe 50-100 years). So if we manage to limit it now, it will likely automatically become a solved problem.
Limiting the pollution now would be quite easy. We'd just have to remove the world's top 1% (preferrably by cutting their wealth down to manageable levels), stop motorized travel, stop globalized production, stop building new buildings, stop any livestock keeping, stop using fossil fuels and a handful of similar things and climate change is gone within 12 years.
We'd basically have to get rid of capitalism for that to happen.