NEW YORK — Giancarlo Stanton hit a three-run homer, CC Sabathia pitched six effective innings, and the New York Yankees beat the Atlanta Braves 6-2 on Wednesday.

Aaron Judge added his 24th homer of the season in the seventh inning. He’s now homered in three of his past four games.

Catcher Kyle Higashioka also homered for the Yankees.

Sabathia (6-3) worked out of a couple of jams for the Yankees, who have won 6 of 8 after getting swept in three games at Tampa last weekend.

National League East-leading Atlanta loaded the bases with two outs in the first, but the 37-year-old struck out 20-year-old phenom Ronald Acuna Jr. on an 88 mph cutter.

CUBS 5, TIGERS 2: Javier Baez stole home and Willson Contreras hit a tie-breaking homer and to lead host Chicago to its sixth straight victory.

David Bote hit his first homer for Chicago, while Detroit got solo shots from Nick Castellanos and John Hicks. Detroit has lost 13 of 15.

MARLINS 3, RAYS 0: Jose Urena and three relievers combined on a four-hitter and Miami shook off the hangover from a 16-inning loss to beat visiting Tampa Bay.

J.T. Riddle singled, tripled and homered.

The teams took the field barely 12 hours after the Rays won a 51/2-hour marathon. But Urena was well-rested in his first outing since June 20, when he was sidelined by right shoulder impingement.

Urena pitched five scoreless innings and struck out six before departing for a pinch hitter after throwing 78 pitches.

Drew Rucinski (4-1) pitched two scoreless innings for his second win in the series. Brad Ziegler pitched around a walk in the ninth to earn his 10th save.

PHILLIES 4, ORIOLES 1: Aaron Nola stuck out nine in seven splendid innings, Nick Williams hit a two-run homer and Philadelphia topped visiting Baltimore.

Nola (11-2) gave up one run and seven hits to win his fifth straight decision.

BREWERS 3, TWINS 1: Nate Orf hit a solo homer in a two-run seventh after going hitless in his first seven major league at-bats, helping Milwaukee top visiting Minnesota.

ATHLETICS 4, PADRES 2: Stephen Piscotty doubled three times and had three RBI, and Oakland won at home.

Khris Davis added an RBI single for the A’s, who have won 14 of 17 to move a season-high nine games over .500.

Piscotty had an RBI double in the second then hit another double in the sixth before breaking a 2-all tie in the eighth with a two-run double off Craig Stammen.

METS 6, BLUE JAYS 3: Todd Frazier hit a two-run homer, Brandon Nimmo reached base three times and New York won at Toronto.

REDS 7, WHITE SOX 4: Starting pitcher Sal Romano dropped down a suicide squeeze during a six-run fourth inning, and Cincinnati rallied to beat visiting Chicago.

Jesse Winker and Jose Peraza each had a two-run single during the big inning, and Scooter Gennett also singled in a run. The Reds overcame Daniel Palka’s third home run in two games to win the three-game series and complete a 4-3 homestand.

The Reds have won 13 of 17 and have come from behind in eight of their last 11 wins.

Yoan Moncada added a two-run homer for the White Sox, who have dropped 5 of 7 and 14 of 20.

AMERICAN LEAGUE

ANGELS 7, MARINERS 4: Kole Calhoun hit a two-run homer, Luis Valbuena drove in two and visiting Los Angeles ended Seattle’s eight-game winning streak.

Calhoun had three hits and three RBI, helping lift Garrett Richards (5-4) in his return from the disabled list. Richards allowed three runs, including homers to Kyle Seager and Ryon Healy, over 51/3 innings. He struck out eight.