AP

NEW YORK (AP) — Neil Walker hit a three-run homer, Zach Britton started a game-ending double play on New York's third try in the ninth inning and the Yankees kept the Boston Red Sox from a bubbly celebration in the Bronx for at least another night with a 3-2 victory Tuesday.

Batting from the left side, Walker launched a no-doubter in the seventh inning off Ryan Brasier for the Yankees' third hit of the game and a 3-1 lead.

Aaron Judge returned to New York's lineup for the first time since breaking his right wrist July 26, while AL MVP candidate Mookie Betts got a day off for Boston after injuring his left side Sunday. Judge hit a pop fly to the warning track but finished 0 for 4.

New York moved 2½ games ahead of Oakland for the top AL wild card. The A's lost at home to the Angels.

Boston is trying to clinch the AL East at Yankee Stadium for the second time in three years. The Red Sox lead the Yankees by 10 1/2 games and entered the night with a magic number of four over the Astros to lock up baseball's best record.

The game started about six hours after it was supposed to begin. Originally scheduled for 1:05 p.m., it was pushed back earlier in the morning because heavy rain was in the forecast.

Chad Green (8-2) and David Robertson relieved J.A. Happ and got the ball to Britton, who capped a five-hitter for his sixth save.

Boston reliever Brandon Workman (6-1) walked two in the seventh before Walker took Brasier deep. The Red Sox bullpen wasted six scoreless innings of two-hit ball from hard-throwing starter Nathan Eovaldi.

DODGERS 3, ROCKIES 2, 10 INNINGS

LOS ANGELES (AP) — Chris Taylor hit a solo home run in the 10th inning to extend Los Angeles' lead in the NL West to 1½ games over Colorado.

Taylor connected off Adam Ottavino (6-4) with one out and was swarmed by teammates at home plate. A day after moving past the Rockies into first place, the defending NL champions matched their largest lead of the season. The Dodgers won the series opener 8-2.

Dylan Floro (6-3) got the win by striking out two in the 10th.

Dodgers starter Clayton Kershaw gave up two runs and three hits in seven innings.

Rockies counterpart Kyle Freeland allowed two runs in 6 2/3 innings. Charlie Blackmon homered for Colorado.

Los Angeles tied it 2-all in the fifth when Austin Barnes scored on a throwing error by third baseman Nolan Arenado.

ANGELS 9, ATHLETICS 7

OAKLAND, Calif. (AP) — Kaleb Cowart hit a go-ahead grand slam in a six-run sixth inning before adding an RBI triple, and Los Angeles rallied past Oakland.

The Athletics fell five games back of the AL West-leading Astros and 2 1/2 behind the Yankees for the top wild card.

Andrelton Simmons hit a two-run single to get the Angels started in the sixth before Cowart connected against Lou Trivino (8-3) for his club's first grand slam of the season.

Mike Trout hit his 35th home run for Los Angeles and stole his 24th base.

Noe Ramirez (6-5) pitched 1 1/3 innings of relief for the win. Ty Buttrey allowed a two-run single to pinch-hitter Dustin Fowler in the eighth but got five outs for his fourth save.

Mark Canha hit a three-run double for the A's, who lost for the fourth time in five games.

CUBS 9, DIAMONDBACKS 1

PHOENIX (AP) — Javier Baez and Daniel Murphy each hit an early two-run homer as Chicago routed fading Arizona.

With their fifth victory in six games, the Cubs increased their NL Central lead to 3 1/2 games over Milwaukee, which lost at home to last-place Cincinnati.

Mike Montgomery (5-5) allowed a run and four hits with a season-high eight strikeouts in six innings for his first win since Aug. 7.

The slumping Diamondbacks dropped six games behind the first-place Dodgers in the NL West and six back of St. Louis for the second wild card. They have lost four in a row and nine of 11.

Just before Baez connected, Anthony Rizzo lined out to end a 17-pitch at-bat. Rizzo added a two-run single in a four-run fifth.

Matt Andriese (3-6) lasted two innings and was charged with five runs on five hits in a bullpen game for Arizona.

CARDINALS 8, BRAVES 1

ATLANTA (AP) — Paul DeJong hit a two-run homer, Yadier Molina added a two-run single in a four-run eighth inning and St. Louis won ITS third straight game.

Austin Gomber pitched five effective innings for St. Louis, which holds a slim lead for the second NL wild card. The Cardinals top the National League with 36 victories since All-Star break, and their 43 road wins this season rank second.

Atlanta's division lead dropped to 5½ games over Philadelphia as the Braves lost their fourth in a row after a season-best six-game winning streak. They are 38-38 at SunTrust Park and have dropped 14 of 18 at home.

The Braves' magic number remained at seven as they try to clinch a division title for the first time in five years. Philadelphia beat the New York Mets 5-2.

Anibal Sanchez (6-6) allowed four hits and two runs and struck out six in five innings.

Gomber (6-1) gave up six hits, one run and three walks while striking out five for his fifth victory in his last six decisions.

ASTROS 7, MARINERS 0

HOUSTON (AP) — Marwin Gonzalez hit a two-run homer in a four-run third inning that helped Houston eliminate Seattle from contention for the AL West title.

Houston extended its division lead to five games over second-place Oakland.

Rookie starter Josh James (1-0) struck out seven and scattered four hits over 5 1/3 innings for his first major league win. Four relievers completed the shutout.

Seattle starter Mike Leake (10-10) yielded six hits and five runs in 6 1/3 innings to snap a two-game winning streak.

RAYS 4, RANGERS 0

ARLINGTON, Texas (AP) — Blake Snell became the major leagues' first 20-game winner in two years, pitching Tampa Bay past Texas.

Snell (20-5) threw one-hit ball for five innings and tied the Tampa Bay record for victories in a season. David Price also won 20 in his Cy Young Award season of 2012.

Snell won his eighth straight start. The 25-year-old lefty struck out five, walked two and threw 92 pitches, exiting with a 1.97 ERA.

Tampa Bay has won four straight and 13 of 16 this month in a last-ditch attempt to wrest a playoff berth from Oakland. The Rays moved within 5½ games of the Athletics for the second AL wild card.

The Rays scored three times in the fourth against Yovani Gallardo (8-6). Willie Adames hit a two-run homer and Joey Wendle had an RBI double.

REDS 3, BREWERS 1

MILWAUKEE (AP) — Jose Peraza capitalized on Chase Anderson's home run troubles with a drive in the first inning and Cincinnati handed Milwaukee its third loss in four games.

The Brewers' edge for the top NL wild-card spot was cut to two games over St. Louis. Milwaukee fell 3½ games behind the first-place Cubs in the NL Central.

Milwaukee managed only three hits against five Cincinnati pitchers. It was the third low-scoring defeat for the Brewers in four games — they lost to Pittsburgh 3-1 on Saturday and 3-2 on Sunday.

Michael Lorenzen, making his first start since 2015 after 151 relief appearances, allowed one unearned run on one hit in four innings. Sal Romano (8-11) followed with 2 1/3 scoreless innings for the victory.

Raisel Iglesias struck out three in the ninth after a leadoff walk for his 28th save.

Anderson (9-8) gave up three runs on six hits with two walks in 3 2/3 innings, matching his shortest start of the season. Six relievers blanked the Reds the rest of the way.

PHILLIES 5, METS 2

PHILADELPHIA (AP) — Jorge Alfaro hit a go-ahead, three-run homer in the sixth inning and Philadelphia boosted its faint playoff hopes.

Philadelphia overcame an uneven outing from ace Aaron Nola and a home run by starter Steven Matz that made him the third Mets pitcher to homer in consecutive appearances.

The Phillies won for the third time in 10 games and moved within 5½ games of Atlanta for the NL East lead. The Braves lost at home to St. Louis.

Wilson Ramos and Justin Bour delivered pinch-hit RBI hits in a five-run sixth before Alfaro drilled a curveball from Drew Smith (1-1) to left-center for his 10th homer.

And with that, Matz's eventful performance was wasted by the Mets.

The other Mets pitchers to homer in back-to-back outings were Hall of Famer Tom Seaver (1972) and Ron Darling (1989).

Pat Neshek (3-1) relieved Nola and got the final out of the sixth. Seranthony Dominguez, Tommy Hunter and Hector Neris each pitched a scoreless inning as the Phillies improved to 7-11 against the Mets this season.

BLUE JAYS 6, ORIOLES 4

BALTIMORE (AP) — The Orioles fell to Toronto, dropping their 108th game, a team record for losses in a season since they arrived in Baltimore in 1954.

The 1988 Orioles, who opened the season 0-21, held the previous team record for losses with a 54-107 finish. The overall franchise record for defeats is 111, set by the 1939 St. Louis Browns — a mark this year's team could still eclipse.

The Orioles led 4-2 in the seventh before a throwing error by third baseman Steve Wilkerson on a grounder by Teoscar Hernández allowed two runs to score. Lourdes Gurriel Jr. followed with a two-RBI single off reliever Paul Fry that that gave Toronto a 6-4 lead.

Jake Petricka (3-1) pitched two scoreless innings. Tyler Clippard held the Orioles in the eighth, and Ken Giles earned his 23rd save.

PIRATES 2, ROYALS 1, 11 INNINGS

PITTSBURGH (AP) — Pinch-hitter Ryan Lavarnway drove in the winning run with a single in the 11th inning and Jameson Taillon struck out a career-high 11 for Pittsburgh.

It was just the second at-bat of the season for the 30-year-old Lavarnway, the Pirates' fourth-string catcher. He hit .288 in 77 games in with Triple-A Indianapolis. Lavarnway has played 142 career games with five teams.

Starling Marte led off the 11th with an infield single off Burch Smith (1-6). Josh Bell walked and Burch struck out Francisco Cervelli before Adam Frazier was intentionally walked to load the bases, setting up Lavarnway's walk-off hit to shallow center.

Pinch-hitter Hunter Dozier tied the game in the ninth with a double off Pirates closer Felipe Vazquez that scored Jorge Bonifacio. Left fielder Corey Dickerson threw to shortstop Jordy Mercer, who relayed home to throw out Salvador Perez and preserve the tie.

Kyle Crick (3-2) retired the side on 10 pitches in the 11th to earn the win.

NATIONALS 4, MARLINS 2

MIAMI (AP) — Stephen Strasburg matched his season high with 11 strikeouts and Bryce Harper tied a season high with five walks to lead Washington.

Anthony Rendon drove in two runs for the Nationals (77-75), who moved within 6½ games of the NL East-leading Atlanta.

Strasburg (9-7) pitched six innings and allowed two runs and five hits with two walks. At one point, he struck out six consecutive batters.

Sean Doolittle pitched a perfect ninth for his 25th save in 26 opportunities.

Sandy Alcantara (2-1) pitched four innings for the Marlins and allowed six hits, six walks, and three runs.

TWINS 5, TIGERS 3

DETROIT (AP) — Chris Gimenez homered and Tyler Austin drove in three runs to lead the Twins.

The Twins have won three straight, while the Tigers have lost seven of nine.

Mikie Mahtook drove in all of Detroit's runs.

Jake Odorizzi (7-10) allowed two runs on four hits in 6 1/3 innings. He walked one and struck out six in his first start since losing a no-hitter in the eighth inning against the New York Yankees.

Trevor Hildenberg pitched the ninth for his seventh save, allowing Mahtook's two-out RBI single.

Daniel Norris (0-5) pitched a season-high 5 1/3 innings, allowing two runs on five hits and three walks.

INDIANS 5, WHITE SOX 3

CLEVELAND (AP) — Corey Kluber struck out 11 in eight innings to record his career-high 19th win for Cleveland.

Kluber (19-7), who allowed three runs, topped 200 strikeouts for the fifth straight season. Kluber won 18 games in three of the previous four seasons, including his two AL Cy Young Award-winning years, 2014 and 2017.

Omar Narvaez walked and Matt Davidson singled with two outs in the eighth, but Kluber retired Ryan LaMarre on a groundout.

Indians All-Star second baseman Jose Ramirez was hit on the left arm by Carlos Rodon's pitch in the fifth inning and walked from the plate in obvious pain. Ramirez spoke with manager Terry Francona and a team trainer, but stayed in the game.

Carlos Rodon (6-6) allowed five runs in seven innings. Palka and Narvaez hit solo homers in the sixth for the White Sox.

GIANTS 5, PADRES 4

SAN DIEGO (AP) — Giants rookie Chris Shaw hit a two-run single in the eighth inning and San Francisco rallied to beat San Diego, assuring that the rebuilding Padres will finish last in the NL West.

Hunter Pence homered, doubled and drove in three runs for the Giants.

Freddy Galvis had four hits and scored twice for the Padres, who dropped to 60-92, one more loss than last year with 10 games to play. Ownership expected the team would improve from last season, when it finished 71-91, seven games better than San Francisco.

Sam Dyson (4-3) pitched the seventh and Will Smith worked the ninth for his 14th save.

Craig Stammen (8-3) took the loss.

___

More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP_Sports