NEW YORK (AP) - The Red Sox salvaged their AL wild-card lead Sunday when Jacoby Ellsbury hit a three-run homer in the 14th inning of the nightcap of a day-night doubleheader, lifting Boston over the New York Yankees 7-4.
The Red Sox rallied from a 3-0 deficit to snap a four-game skid and head into their final series with a one-game lead over Tampa Bay.
Boston held a nine-game lead over the Rays entering play Sept. 4 but has gone 5-16 since. Up by 1 1/2 games to start the day, the Red Sox nearly wasted that entire lead after losing the opener 6-2 despite Ellsbury's two homers.
Boston finishes in Baltimore, while Tampa Bay hosts the Yankees, who already have clinched the AL's best record and homefield advantage through the AL championship series.
Ellsbury homered off Scott Proctor (0-2) after a single and a walk.
Franklin Morales (1-1) pitched two innings for the win. Felix Doubront, recalled on Sept. 1, finished the 5-hour, 11-minute game for his first save since August 2010.
In the opener, A.J. Burnett (11-11) made his most impressive start in nearly three months and Jorge Posada hit a two-run homer for the Yankees. Ellsbury connected twice to become the first player in Red Sox history to reach 30 homers and 30 stolen bases in a season.
Tim Wakefield (7-8) dropped to 1-5 in his last 10 starts.
Derek Jeter had three hits to lift his average to .300 at the end of the game for the first time since April 2.
Rays 5, Blue Jays 2
ST. PETERSBURG, Fla. (AP) - B.J. Upton and Ben Zobrist homered in the first inning to back Wade Davis (11-10).
Evan Longoria and Kelly Shoppach also homered for the Rays, who have closed the gap with Boston despite going 14-10 in September. Joel Peralta finished for his sixth save.
Tampa Bay closes at home against the Yankees, while the Red Sox play at Baltimore.
Athletics 6, Angels 5
ANAHEIM, Calif. (AP) - Rookie closer Jordan Walden (5-3) wasted a 5-2 lead in the ninth inning, throwing away a potential game-ending grounder. The defeat left the Angels three games behind Boston and two back of Tampa Bay.
Josh Willingham homered leading off the ninth and, after a pair of singles, Walden threw Adam Rosales' comebacker past shortstop Erick Aybar and into center. Kurt Suzuki followed with a tying double, and Coco Crisp's second sacrifice fly put the A's ahead.
Fautino De Los Santos (3-2) allowed Peter Bourjos' two-run single in the eighth, and Andrew Bailey pitched a hitless ninth for his 23rd save.
Rangers 12, Mariners 5
ARLINGTON, Texas (AP) - Yorvit Torrealba homered in consecutive innings, including a grand slam, after Derek Holland (16-5) pitched his scheduled five innings in a postseason tuneup.
Adrian Beltre and Ian Kinsler also homered for the Rangers, who matched a franchise record with their 52nd win at home.
Texas stayed a game ahead of Detroit for the second-best record in the AL and homefield advantage in the first round. Charlie Furbush (4-10) was the loser.
Tigers 10, Orioles 6
DETROIT (AP) - Miguel Cabrera homered and singled to raise his average to .341 in his push for the AL batting title, then left because of lightheadedness.
Brad Penny (11-11) allowed three runs and five hits in 5 1-3 innings for the win.
Brian Matusz (1-9) gave up six runs and seven hits in five innings. Assuming he doesn't pitch again this year, Matusz will finish with a 10.69 ERA, a record high for a pitcher with at least 40 innings in a season, according to STATS.
Twins 6, Indians 4
CLEVELAND (AP) - Rene Tosoni led off the 10th inning with a home run off Tony Sipp (6-3) to give Kyle Waldrop (1-0) his first career win. Chris Parmelee added an RBI single later in the inning.
Cleveland had a four-game winning streak snapped. The crowd got a surprise in the ninth when 41-year-old Jim Thome made what could be his last appearance at Progressive Field - as a third baseman, a position he had not played since 1996.
Royals 2, White Sox 1
CHICAGO (AP) - Luis Mendoza (2-0) allowed one run and five hits in 7 2-3 innings, Jarrod Dyson hit a two-run double and Kansas City sent Chicago to its 11th loss in 15 games, ensuring the third losing record for the White Sox in eight seasons under manager Ozzie Guillen.
Gavin Floyd (12-13) matched his season high with 10 strikeouts and held Kansas City to two runs and three hits in eight innings. Greg Holland struck four in his fourth save.