The Associated Press

NEW YORK — Aaron Judge and his teammates were joking about which one of them would hit the home run that gave the New York Yankees a major league-record 28 straight games with a long ball.

The 6-foot-7 slugger, batting second in the lineup, predicted the mark might fall in the first inning.

Judge was right, even though he never had a crack at it. The first chance went to leadoff man D.J. LeMahieu — and nobody else got one.

LeMahieu and Judge hit back-to-back homers to begin the bottom of the first inning, and New York held on to beat the Toronto Blue Jays 4-3 Tuesday night.

“I was just trying to do what he did. He’s been our MVP,” Judge said. “D.J. stole the show. We’re happy for him. No better person I want breaking that record.”

Also Tuesday:

Mariners 8, Brewers 3: MILWAUKEE — Daniel Vogelbach hit a two-run homer to lift Seattle past Milwaukee for the Mariners’ first interleague win in five tries this season. Marco Gonzales (9-6) pitched five innings to earn his fourth consecutive win for the Mariners.

Giants 4, Rockies 2: SAN FRANCISCO — Madison Bumgarner struck out 11 batters in six innings and also drove in a run with an RBI single that helped lead San Francisco to the win.

Red Sox 6, White Sox 3: BOSTON — Xander Bogaerts hit a two-run homer and David Price struck out nine, leading Boston to the victory.

Phillies 7, Mets 5: PHILADELPHIA — Maikel Franco hit a go-ahead two-run homer for the second straight game to power Philadelphia. Brad Miller, Scott Kingery and Rhys Hoskins also connected as the Phillies earned their second straight win since losing seven in a row.

Nationals 6, Marlins 1: MIAMI — Max Scherzer struck out 10 in eight innings and won his fifth straight start to lead Washington.

Padres 8, Orioles 3: BALTIMORE — Manny Machado marked his return to Camden Yards with a performance reminiscent of his time with the Orioles, hitting a long homer and driving in two runs to lead San Diego.

Braves 3, Cubs 2: CHICAGO — Ozzie Albies and Ronald Acuna Jr. homered, Max Fried pitched six innings of two-hit ball and Atlanta beat Chicago.

Royals 8, Indians 6: CLEVELAND — Hunter Dozier’s grand slam capped Kansas City’s stunning five-run rally in the ninth inning off Cleveland closer Brad Hand. Hand was a perfect 22 for 22 in save chances. But the left-hander did not record an out against the Royals, who entered the ninth down 6-3 before storming back.

Rangers 5, Tigers 3: DETROIT — Jesse Chavez pitched into the seventh inning in his longest outing in over two years, and Texas beat Detroit.

Astros 5, Pirates 1: HOUSTON — Yuli Gurriel and Alex Bregman homered to back up a solid start by Gerrit Cole in his first meeting against his former team, and Houston beat Pittsburgh.

Twins 9, Rays 4: MINNEAPOLIS — Eddie Rosario had four hits, Willians Astudillo added three hits and Minnesota extended Blake Snell’s troubles. Jonathan Schoop and C.J. Cron hit solo homers for Minnesota, which got to Snell for seven runs and 11 hits in just 3 1⁄3 innings.

Athletics 7, Cardinals 3: ST. LOUIS — Chad Pinder and Marcus Semien homered in a six-run fifth inning, and Oakland rallied to beat St. Louis.

Dodgers 3, Diamondbacks 2: PHOENIX — Enrique Hernandez hit his sixth career leadoff home run and Justin Turner added a solo shot to power Los Angeles.

Angels 5, Reds 1: ANAHEIM, Calif. — Tommy La Stella hit a leadoff inside-the-park homer and Luis Rengifo added a three-run shot in Los Angeles’ victory over Cincinnati.