CLEVELAND — Jacoby Ellsbury's two-out homer in the 14th inning gave the New York Yankees a 5-4 victory over the Cleveland Indians on Wednesday night.
Ellsbury hit his sixth home run of the season on an 0-2 pitch from Vinnie Pestano (0-1).
Chase Whitley (4-2) pitched two scoreless innings. David Robertson recorded his 22nd save, retiring All-Star Michael Brantley on a long fly ball to left with a runner on second to end the game.
PHOTO GALLERY: Click here to view more photos
Before the game, New York placed rookie sensation Masahiro Tanaka, who leads the majors with 12 wins, on the 15-day disabled list due to right elbow inflammation. The All-Star had an MRI in New York on Wednesday.
The marathon took 4 hours, 51 minutes and featured a second seventh-inning stretch before the Indians batted in the 14th.
Mark Teixeira of the Yankees hit a solo homer in the fourth and a two-run blast in the fifth.
Nick Swisher had a two-run single in the first when Cleveland scored three runs.
Robertson retired Chris Dickerson to start the 14th before Jason Kipnis singled and stole second. After Asdrubal Cabrera struck out, Brantley lofted a popup into foul territory. Third baseman Kelly Johnson tried to make the catch with his back to home plate, but the ball hit off his glove and fell to the ground.
Brantley then sent a fly ball to left, but Zoilo Almonte, who was called up from Triple-A to replace Tanaka on the roster, made a running catch over his head in front of the warning track.
Both teams squandered scoring chances in the 10th. Cody Allen struck out Ichiro Suzuki with two on to end the top of the inning. David Huff then walked the bases loaded with one out, but Shawn Kelley struck out Swisher and retired David Murphy on a groundout.
Brandon McCarthy, acquired in a trade with Arizona on Sunday, allowed four runs in 6 1-3 innings in his Yankees debut. The first-inning runs were all unearned thanks to first baseman Teixeira's throwing error.
McCarthy allowed nine hits, struck out three and walked one.
Josh Tomlin allowed four runs in seven innings for the Indians. The right-hander has given up 13 home runs in 77 innings.
Derek Jeter was a late addition at designated hitter when Carlos Beltran was scratched after sustaining a facial contusion during batting practice. Beltran was injured when a ball caromed off the batting cage and hit him.
The Yankees traded left-hander Vidal Nuno for McCarthy, who was 3-10 with a 5.01 ERA in 18 starts for the Diamondbacks this season, but won his last two outings. McCarthy allowed three runs, struck out 13 and walked two in 12 2-3 innings over his last two starts with Arizona.
The Indians will present Jeter with a gift before Thursday's game, the final regular season appearance in Cleveland for the 14-time All-Star.
NOTES: Indians manager Terry Francona said RHP Zach McAllister, currently pitching at Triple-A Columbus, will start Saturday against the Chicago White Sox. McAllister is taking the rotation spot of RHP Justin Masterson (right knee inflammation). ... Masterson threw a bullpen session Wednesday. ... Beltran missed the first two games of the series with soreness behind his right knee. ... RHP David Phelps (3-4) starts for the Yankees against LHP T.J. House (1-2) in Thursday's series finale.