New York Attorney General Letitia James announced Friday that she would run for governor, setting up a high-profile challenge to incumbent Gov. Kathy Hochul in 2022.