NEW YORK -- Raul Ibanez tied it with a pinch-hit homer in the ninth inning then had an RBI single in the 12th, helping the Yankees remain a game up on Baltimore in the AL East with one game to go by beating the Boston Red Sox 4-3 on Tuesday night.
With a second comeback spurred by Ibanez in the last 10 days, the Yankees need a win or Orioles loss on the final day of the season to secure their 13th division title since 1996. The Orioles beat Tampa Bay 1-0 earlier.
If the teams end up even after Wednesday's games, they'll play a tiebreaker Thursday in Baltimore.
The Yankees kept missing chances on a misty night. They were 0-58 when trailing after eight innings this season, then rallied in the ninth.
ORIOLES 1, RAYS 0
ST. PETERSBURG, Fla. -- Chris Davis homered for the sixth straight game and the Orioles overcame a club-record 15 strikeouts by James Shields to beat the Rays, pushing the AL East race to the final day of the season.
Baltimore trails the New York Yankees by one game.
Orioles rookie Miguel Gonzalez (9-4) limited the Rays to two singles over 6 1-3 innings. The right-hander walked two and struck out seven before manager Buck Showalter turned the game over to the bullpen.
Davis joined Hall of Famer Reggie Jackson as the only Baltimore players to homer in six consecutive games, connecting off Shields (15-10) in the fourth. The Orioles managed only one other hit -- Nate McLouth's sixth-inning single -- in Shields' third complete game.
ROYALS 4, TIGERS 2
KANSAS CITY, Mo. -- Miguel Cabrera had two hits and drove in two runs before leaving in the fifth inning, and the Royals rallied to beat his AL Central champion Tigers.
With one game remaining in the regular season, Cabrera leads the American League in average (.331), home runs (44) and RBIs (139), putting him on the brink of becoming the first Triple Crown winner since Boston's Carl Yastrzemski in 1967.
Alcides Esocbar and Jeff Francoeur went deep for Kansas City, and Salvador Perez provided the go-ahead RBI in the fifth inning. Jeremy Guthrie (5-3) lasted six innings to improve to 5-0 with six no-decisions in his final 11 starts, the Royals winning 10 of them.
Doug Fister (10-10) allowed three runs on seven hits in 4 1-3 innings for Detroit.
INDIANS 4, WHITE SOX 3, 12 innings
CLEVELAND -- Jason Donald singled home the winning run with two outs in the 12th inning, lifting the Indians over the White Sox.
Right-hander Nate Jones came on to face announced pinch hitter Matt LaPorta, who was then replaced by lefty swinging Jack Hannahan. Jones struck him out before Donald hit a liner into the left-field corner.
Chris Seddon (1-1) pitched a scoreless 12th for the win, Cleveland's seventh in 17 meetings with Chicago. It was the left-hander's first victory since July 24, 2010, when he was with Seattle.
BLUE JAYS 4, TWINS 3
Making his third career start, Jenkins (1-3) allowed two runs and five hits in five-plus innings. The right-hander walked one and struck out two.
Three-time batting champion Joe Mauer went hitless in three at-bats, dropping his average to .320. Detroit's Miguel Cabrera is leading the batting race, hitting .331. Angels rookie Mike Trout is second.
Copyright 2012 by The Associated Press
This story is from ESPN.com's automated news wire. Wire index