NEW YORK — Ronald Acuna Jr. hit a two-run homer in the 11th inning that nicked the glove of a leaping Aaron Judge in right field, and the Atlanta Braves beat the New York Yankees 5-3 on Monday night in a matchup between the top teams in each league.

Johan Camargo homered early and Jesse Biddle pitched out of a late jam for the NL East leaders, who followed up a three-game sweep in St. Louis with their fourth consecutive victory.

The 20-year-old Acuna also doubled and drove in three runs, four years to the day after the touted rookie signed with the Braves (49-34).

Judge hit his 23rd homer for the Yankees (54-28), and second in two nights. Gleyber Torres had three hits and scored twice, but the rookie second baseman’s 10th error since he was called up from the minors April 22 helped Atlanta get started in the 11th.

Playing on the outfield grass, Torres booted Nick Markakis’ leadoff grounder. One out later, Acuna lofted a 1-2 pitch from David Robertson (5-3) the other way. Judge, all 6-foot-7 of him, got in good position at the auxiliary scoreboard and jumped, but the ball glanced off the tip of his webbing and cleared the wall.

Robertson slumped near the mound and an excited Acuna, playing his first game at Yankee Stadium, circled the bases with his seventh home run.

A.J. Minter got three outs for his fourth save.

New York, which stranded 12 runners, had the bases loaded with one out in the 10th before Biddle (2-0) struck out Greg Bird and Austin Romine on seven pitches. The left-hander fanned four in two scoreless innings.

Aroldis Chapman struck out the side in the ninth for the Yankees, hitting 104 mph on the stadium radar gun to oohs and aahs from the crowd of 43,792. Dellin Betances retired slugger Freddie Freeman with runners at the corners to end the top of the 10th.

Judge hit a pop-fly homer the opposite way into the front row of the right-field porch in the first. Camargo answered with a leadoff shot in the third against rookie starter Jonathan Loaisiga, who was sent to the minors right after the game.

Both home runs came on 0-2 pitches.

Torres doubled to start the bottom of the third and came around on a pair of wild pitches by Anibal Sanchez, who allowed three runs in six innings.

Three straight doubles by Nick Markakis, Kurt Suzuki and Acuna accounted for two runs and gave Atlanta a 3-2 lead in the fourth. Suzuki and Acuna hit shots just inside third base.

Torres’ single and two consecutive walks by Sanchez loaded the bases in the fifth for Didi Gregorius, who tied it with a sacrifice fly.

REDS 5, WHITE SOX 3: Alex Blandino’s double in the eighth inning completed Cincinnati’s four-run rally for another comeback victory at home.

The White Sox returned to Great American Ball Park for the first time since 2009 and let one slip away with the help of a misplay in the bottom of the eighth.

The Reds loaded the bases with one out against Chris Volstad (1-5). Adam Duvall grounded to first baseman Matt Davidson, who was indecisive. He took several steps toward first before throwing home too late to get Scooter Gennett scoring from third base.

Billy Hamilton followed with a sacrifice fly that tied it at 3, and Blandino’s pinch-hit double put the Reds in position for another comeback win. They’ve trailed in seven of their last 10 victories.

MARLINS 3, RAYS 2: Yadiel Rivera’s infield hit with none out in the 10th inning scored Brian Anderson, and host Miami beat Tampa Bay.

Anderson walked against Ryne Stanek (1-2) to start the 10th and took third on a single by J.T. Realmuto.

Rivera, who entered the game as a defensive replacement in the ninth, pulled a one-hopper up the line. Third baseman Matt Duffy backhanded the ball and double-clutched in foul territory before making a wild throw home, but the play was ruled a hit.

The Rays lost for only the second time in 10 games, and allowed more than two runs for the first time in seven games, ending a franchise-record streak. Tampa Bay has lost 21 one-run games, most in the majors.

The Rays’ C.J. Cron tied the game in the ninth with a two-out RBI double against closer Kyle Barraclough, who hadn’t given up a run since May 8.

Realmuto hit his 11th homer for Miami. Second baseman Starlin Castro tied a career high with four hits but also committed an error that led to an unearned run. Miguel Rojas had three hits, including a two-out RBI double in the second.

AMERICAN LEAGUE

TIGERS 3, BLUE JAYS 2: Jose Iglesias hit a tie-breaking sacrifice fly in the 10th inning and Detroit recovered from a blown save in the ninth to beat win in Toronto.

Right-hander Joe Jimenez (4-1) got the win despite giving up the tying run in the ninth.

“It’s huge for us,” Jimenez said of the victory. “A new month, a new us.”

With his team leading 2-1 after eight innings, Tigers Manager Ron Gardenhire called on Jimenez because regular closer Shane Greene (shoulder) had been placed on the 10-day disabled list before the game.

Jimenez loaded the bases with two outs and walked pinch-hitter Justin Smoak on a 3-2 pitch to force in the tying run.

“When you come in as a closer, you have to make them swing the bat,” Gardenhire said. “In those situations, walks will kill you.”

Detroit answered immediately in the 10th. Niko Goodrum hit a one-out triple off Seunghwan Oh (4-3) and scored the winning run when Iglesias followed with a fly ball to right.