New York City will invest $4 billion of its pension funds into climate-change solutions like renewable energy and clean water over the next three years, more than doubling its current investment, according to city officials.

Mayor Bill de Blasio and Comptroller Scott Stringer, who oversees the city’s more than $195 billion pension fund, are set to announce the reinvestment plan on Thursday.

“We...