NEW YORK -- Chase Headley came through in his fourth at-bat as a Yankee, hitting a game-winning single in the 14th inning as New York outlasted the Texas Rangers for a 2-1 victory Tuesday night at Yankee Stadium.

The switch-hitting third baseman entered the game as a pinch hitter for Zelous Wheeler in the eighth and was hitless in his first three at-bats. With runners at first and third in the 14th, Headley singled into left field against Nick Tepesch (3-6). Yankees second baseman Brian Roberts easily scored, ending the 4-hour, 51-minute marathon.

After rounding first base, Headley was mobbed by his teammates, whom he met 4 1/2 hours earlier after being acquired from the San Diego Padres and flying in from Chicago. While doing his postgame interview, he was given a Gatorade shower by left fielder Brett Gardner.

The Yankees won for the 10th time in 16 games and improved to 4-1 on a 10-game homestand thanks to their third walk-off win of the season. They did so after tying the game in the 13th against Texas closer Joakim Soria on a base hit by Carlos Beltran.