The consecutive clouts erased a 3-0 New York deficit and the Yankees scored three of the game's next four runs to take the rubber match of a three-game interleague series with the Rockies.
David Robertson hurled a scoreless eighth and Mariano Rivera struck out the side in the ninth for his 20th save.
Mark Teixeira added a solo homer, his 23rd of the season, for New York.
Ty Wigginton smacked a pair of home runs and went 3-for-4 for Colorado.
Celebrity Breakups and divorces of 2014 [PHOTOS]