Albert Pujols connected twice for his second straight multihomer game. His second homer, a two-run shot in the 10th, was one of four long balls hit between the two teams in the last two innings. Texas' Ian Kinsler homered in the bottom of the ninth to tie it 7-all.
Chris Iannetta also homered in the 10th for the Angels, but Texas came right back.
Nelson Cruz homered, and Mitch Moreland singled off Jason Isringhausen (3-1) to bring the Rangers to 10-9. With the bases loaded, Andrus drove a single past third baseman Alberto Callaspo to set off a wild celebration for the Rangers.
Joe Nathan (2-3) gave up Iannetta's homer on a full-count pitch and Pujols' two-run drive but still earned the win.
MARINERS 5, BLUE JAYS 3
SEATTLE (AP) — John Jaso hit the go-ahead single in the sixth inning and Blake Beavan's 7 2-3 strong innings led the Mariners to their seventh consecutive victory.
Beavan (7-6) gave up three runs and seven hits. He threw 82 pitches and struck out four. He is undefeated (4-0) since being recalled from Triple-A Tacoma July 17.
Toronto starter Carlos Villanueva (6-1) threw six innings, allowed seven hits, four earned runs and struck out six.
ATHLETICS 4, RAYS 1
OAKLAND, Calif. (AP) — Alex Cobb shut down Oakland for seven innings and Carlos Pena homered to help the Tampa Bay Rays complete a successful nine-game road trip by beating the Athletics 4-1 on Wednesday.
Pena, who drove in five runs in the series, hit an RBI double in the sixth inning and a solo homer in the eighth. Jeff Keppinger scored twice and Matt Joyce and Ryan Roberts also drove in runs for the Rays, who won three straight series on one trip for the fourth time in franchise history.
Brandon Inge homered for the A's, who followed up the best July in club history by losing the first game of August.
Cobb (5-8) allowed four hits and one walk, striking out six.
Jarrod Parker (7-5) Parker allowed three runs and eight hits in six innings.
Fernando Rodney pitched the ninth for his 31st save in 32 chances.
YANKEES 12, ORIOLES 3
NEW YORK (AP) — Robinson Cano hit a grand slam in a seven-run third inning, and New York sent Zach Britton to another shellacking at Yankee Stadium in a rout of the Orioles that stopped a four-game losing streak.
With Supreme Court Justice Sonia Sotomayor on hand and sitting with the Bleacher Creatures at the start, Derek Jeter had three hits and three RBIs on a rainy afternoon and Joba Chamberlain returned from elbow and ankle injuries that had sidelined him since June 5 last season. Phil Hughes (11-8) pitched homerless ball for only the fifth time this year.
Britton (1-1) allowed seven runs over 2 2-3 innings, leaving him with a 19.13 ERA in the Bronx.
WHITE SOX 3, TWINS 2
MINNEAPOLIS (AP) — Jake Peavy struck out eight over eight smooth innings, Alejandro De Aza gave Chicago the lead in the eighth with an infield single off Scott Diamond's leg, and the White Sox beat the Twins.
Peavy (9-7) allowed five hits and walked two. One of the runs he gave up was unearned.
Danny Valencia homered in the second, but Peavy toughened up after that and had trouble in only two more innings.
Diamond (9-5) was coming off a three-hit shutout, his first career complete game, in his last start.
ROYALS 5, INDIANS 2
KANSAS CITY, Mo. (AP) — Luis Mendoza pitched into the eighth inning, Lorenzo Cain and Jarrod Dyson stroked two hits each and drove in a run and the Royals beat Cleveland.
The Royals, who have the worst record in the American League (42-61), won consecutive games for the first time since June 27-29.
Mendoza (5-7) limited the Indians to two runs and four hits, only one after the fourth inning, and went 7 1-3 innings to pick up the victory.
Indians rookie right-hander Zach McAllister (4-3) gave up five runs, five hits and two walks in six innings.
TIGERS 7, RED SOX 5
BOSTON (AP) — Miguel Cabrera and Prince Fielder homered on consecutive pitches to cap a five-run fifth inning, and Detroit beat the Red Sox to avoid a three-game sweep.
Delmon Young added a solo homer for Detroit, which won for just the second time in seven games.
Carl Crawford hit a solo homer for the Red Sox, who had a four-game winning streak halted.
Rick Porcello (8-6) pitched 5 2-3 innings, giving up four runs on eight hits for the win.
Boston's Aaron Cook (2-5) was hit hard for the second straight start, allowing six runs on nine hits, including two homers, in 4 2-3 innings.