BOSTON - Alex Rodriguez drove in a run with a bases-loaded dribbler, capping a three-run rally in the eighth inning that lifted the New York Yankees over the Red Sox 4-2 on Thursday night and sent the booed designated hitter out of Boston with one last victory.

Rodriguez is set to play his final game for the Yankees on Friday night at home against Tampa Bay. The 41-year-old designated hitter will then be released and become an adviser and instructor for the club.

Rodriguez was 0 for 4 and loudly jeered throughout the game that turned in the Yankees' favour on a crucial fielding mistake that allowed them to overcome a 2-1 deficit.

Rodriguez lined out, popped out and struck out before his tapper in front of the plate in the eighth allowed Brett Gardner to score from third and put New York up 4-2. In 1994, Rodriguez was a teenager with Seattle when he got an infield single at Fenway Park for his first major league hit.

Dellin Betances earned his third save, striking out Dustin Pedroia and Xander Bogaerts with runners at the corners to end it. Luis Cessa (2-0) pitched two scoreless innings. Brad Ziegler (0-3) got the loss.

CUBS 4, CARDINALS 3, 11 INNINGS

CHICAGO - Anthony Rizzo drew a bases-loaded walk from Zach Duke with two outs in the 11th inning and Chicago beat St. Louis for its 10th consecutive victory.

Pinch-hitters Willson Contreras and Jorge Soler led off with singles against Duke (2-1) and Dexter Fowler walked to load the bases with one out. Kris Bryant struck out before Rizzo took a 3-1 pitch inside to give the Cubs their longest winning streak since getting 12 straight in 2001.

Mike Montgomery (4-5) allowed a single and two walks to load the bases in the 11th before striking out Matt Carpenter. He won for the first time for Chicago since being acquired from Seattle last month.

The Cardinals fell 13 games behind Chicago in the NL Central and lost Matt Holliday in the 10th after he was hit on the right hand by Mike Montgomery's 94 mph fastball.

ORIOLES 9, ATHLETICS 6

OAKLAND, Calif. - Mark Trumbo hit a grand slam for his major league-leading 32nd homer and drove in five runs to help Baltimore beat Oakland.

The Orioles had been shut out for 17 straight innings and lost their lead in the AL East following three consecutive one-run losses in the series before Trumbo sparked them.

The All-Star slugger hit an RBI single in a three-run fourth, then connected the next inning for his third career grand slam.

Chris Tillman (15-4) allowed two runs over seven innings for his first victory since July 21. He's Baltimore's first 15-game winner since Bud Norris and Wei-Yin Chen in 2014.

Zach Britton retired three batters for his AL-leading 35th save of the season and his 37th consecutive dating to last season. The A's loaded the bases in the ninth after a replay overturn before Britton got Danny Valencia to ground out to end it.

Andrew Triggs (0-1) was the loser.

DIAMONDBACKS 9, METS 0

NEW YORK - Last-place Arizona rattled New York's Noah Syndergaard with four more stolen bases, then broke it open in a six-run sixth inning that included Chris Owings' bases-loaded triple.

Braden Shipley (2-1) pitched three-hit ball over seven innings in his fourth big league start to help the Diamondbacks sweep the three-game series. Zack Godley and Dominic Leone finished the five-hitter.

After brushing aside Syndergaard (9-7), the Diamondbacks began their sixth-inning burst against Jon Niese with Tuffy Gosewisch's leadoff homer. Owings had his second straight three-hit game, finishing with a single, double and triple.

Arizona had 13 stolen bases in the series - one shy of Baltimore's season total, three more than the Diamondbacks' previous mark for any series and the most in a three-game series against the Mets. Paul Goldschmidt had two of them, and Socrates Brito and Shipley one each.

Runners have swiped 36 bases in 40 tries against Syndergaard this year and are 51 for 56 against him in his career, according to the Elias Sports Bureau.

ROYALS 2, WHITE SOX 1

KANSAS CITY, Mo. - Danny Duffy pitched his first complete game to win his eighth straight decision, and Cheslor Cuthbert had two hits and drove in a run in Kansas City's victory over Chicago.

Duffy (9-1) limited the White Sox to seven singles, struck out six and walked none. He has not lost since June 6 and has a 1.73 ERA in his past five starts.

Cuthbert tripled home Jarrod Dyson in the sixth. Dyson was initially called out trying to steal second, but the Royals appealed and the call was overturned. Cuthbert then scored the go-ahead run on Eric Hosmer's single off Carson Fulmer (0-2).

ASTROS 15, TWINS 7, 1ST GAME

ASTROS 10, TWINS 2, 2ND GAME

MINNEAPOLIS - Evan Gattis homered and had four RBIs, Carlos Correa went deep for the third straight game and Houston Astros beat Minnesota 10-2 to sweep a split doubleheader.

Houston had 16 hits after a season-high 19 in a 15-7 afternoon victory. The doubleheader was necessitated by a rainout Wednesday night, a game Minnesota led 5-0 in the third before the storms hit.

Jose Altuve had four hits in the first game and was 1 for 4 in the second. He leads the majors with a .365 batting average and has reached base in 41 straight road games.

Chris Devenski (1-4) won the second game for his first major league victory.

Tommy Milone (3-4) was the loser.

In the opener, Altuve also had three RBIs and three runs, and Marwin Gonzalez tied a career high with four hits. Doug Fister (11-7) was the winner, and Jose Berrios (2-3) the loser.

Kennys Vargas homered from each side of the plate for Minnesota.

ROCKIES 12, RANGERS 9

ARLINGTON, Texas - Pinch-hitter Carlos Gonzalez had a bases-clearing double in a five-run, eighth-inning rally and Colorado held on to end AL West-leading Texas' winning streak at five games.

After David Dahl drew a bases-loaded walk from Matt Bush with two outs to tie it at 9, Gonzalez doubled into the left-centre gap.

Texas tied it at 7 when Adrian Beltre and Mitch Moreland hit back-to-back homers to start the seventh. Elvis Andrus had an RBI double later in the inning after twice failing to get down a bunt, and another run came home on Ian Desmond's grounder to make it 9-7.

But Colorado rallied in the eighth when lefty Jake Diekman (3-2) gave up a walk and consecutive singles to left-handers before Bush relieved him.

Scott Oberg (1-1) was the winner, and Adam Ottavino pitched the ninth for his first save.

Charlie Blackmon homered, doubled and singled twice for Colorado. Rougned Odor had an RBI triple and a two-run homer for the Rangers.

INDIANS 14, ANGELS 4

CLEVELAND - Mike Napoli was 4 for 4 with a homer and four RBIs, Lonnie Chisenhall drove in four and Cleveland routed Los Angeles in game delayed by rain in the fourth and seventh innings.

Indians designated hitter Carlos Santana left with a contusion on the right side of his head after being struck by a foul ball while standing in the dugout during the fifth inning. Santana hit his 25th homer to lead off the first inning.

Napoli's three-run homer, his 29th, highlighted a four-run fifth. He had an RBI double in the second. Chisenhall added a three-run double when Cleveland scored five times in the first.

Corey Kluber (12-8) allowed three runs in six innings.

Mike Trout homered in the first for Los Angeles, which has dropped seven straight - its longest losing streak since 2010. Jhoulys Chacin (2-6) was the loser.

PIRATES 4, PADRES 0

PITTSBURGH - Rookie Jameson Taillon pitched three-hit ball for eight innings, David Freese drove in two runs and Pittsburgh beat San Diego.

Taillon (3-2) struck out four and walked two. Neftali Feliz got two outs in the ninth, and also gave up a single and a walk. Tony Watson got his fourth save by striking out Jabari Blash.

Josh Harrison hit a leadoff double in the first off Christian Friedrich (4-8) and scored on Freese's single. Freese had an RBI double in the third and scored on Gregory Polanco's single. Harrison singled home a run in the fourth. Starling Marte snapped an 0-for-12 streak with two hits.

BREWERS 11, BRAVES 3

MILWAUKEE - Matt Garza won his third straight start, and Chris Carter, Scooter Gennett and Hernan Perez homered in Milwaukee's victory over Atlanta.

Garza (4-4) allowed two runs and seven hits in six innings.

Roberto Hernandez (1-1) was the loser. Erick Aybar homered for the Braves.