Brett Gardner homered twice, including a tying blast in the ninth inning, and Gleyber Torres delivered the game-winning hit as the Yankees overcame a season-high five errors, rallying for a 6-5, 10-inning victory over the Astros on Tuesday night at Yankee Stadium.