BLUE JAYS 5, DIAMONDBACKS 4

Bo Bichette and Addison Barger hit back-to-back home runs off Shelby Miller in the ninth inning and Toronto rallied to beat Arizona on Tuesday night.

Jeff Hoffman (6-2) pitched one inning for the win as Toronto snapped a three-game skid.

Toronto trailed 4-3 heading to the final frame before Bichette tied it with a one-out drive to left, his ninth of the season. Barger followed with a game-winning shot to right, his eighth.

ANGELS 4, YANKEES 0

Kyle Hendricks and three relievers combined on a four-hitter as Los Angeles beat slumping New York to hand them their third straight shutout loss.

New York manager Aaron Boone tinkered with his lineup — batting rookie Jasson Domínguez first and dropping Paul Goldschmidt to sixth — but it didn’t yield results for the Yankees, who were 0 for 10 with runners on and got just three to second base.

MARLINS 8, PHILLIES 3

Eric Wagaman and Jesús Sánchez homered as Miami snapped a five-game home skid with a win over the Phillies, ending Philadelphia’s five-game win streak.

Xavier Edwards had three hits and Javier Sanoja tripled and singled for the Marlins.

TIGERS 7, PIRATES 3

Javier Báez hit two of Detroit’s four home runs in a victory over Pittsburgh.

Báez hit solo homers in the fifth and seventh innings on the day he reached 10 years of major league service. Wenceel Pérez and Riley Greene also homered for Detroit.

REDS 6, TWINS 5

TJ Friedl hit a decisive two-out, two-run double in the sixth inning and Cincinnati rallied for a over Minnesota.

Cincinnati has won eight of its last 11 games to climb within two games of the third NL wild-card spot.

Byron Buxton’s solo homer off Andrew Abbott put the Twins ahead 1-0 in the third.

ROYALS 6, RANGERS 1

Salvador Perez homered twice, Bobby Witt Jr. went deep in his hometown team’s ballpark for the first time and Kansas City stopped a six-game losing streak with a victory over Texas.

Seth Lugo struck out a season-high nine for his first win since May 1 as all three active Kansas City All-Stars from last year’s Midsummer Classic at Globe Life Field returned to Texas and had a hand in ending the team’s five-game skid against the Rangers.

CARDINALS 12, WHITE SOX 2

Brendan Donovan had four hits and Iván Herrera drove in four runs to back a strong start by Matthew Liberatore as St. Louis handed Chicago their sixth straight loss.

ORIOLES 5, RAYS 1

Colton Cowser hit a go-ahead homer and Baltimore beat Tampa Bay.

Jordan Westburg and Dylan Carlson each had three hits for the Orioles, who have won 12 of 17. Ramón Laureano drove in two runs.

Westburg fell inches shy of a second-inning homer when his flyball bounced off the top of the left-center fence.

BRAVES 5, METS 4, 10 INNINGS

Austin Riley hit a bases-loaded sacrifice fly to deep center field in the 10th inning, lifting Atlanta to a comeback win over New York.

CUBS 5, BREWERS 3

Seiya Suzuki and Pete Crow-Armstrong homered, and Chicago beat Milwaukee in a matchup of NL Central contenders.