AMERICAN LEAGUE: Yankees 4, Twins 3

Gary Sanchez hit a three-run homer off Fernando Rodney in the ninth inning, and the host New York Yankees rallied to beat the Minnesota Twins to complete a four-game sweep and extend their winning streak to six.

New York was held hitless through five innings and trailed 3-0 before Aaron Hicks’ sacrifice fly in the seventh. Didi Gregorius grounded to third leading off the ninth and reached second when Miguel Sano’s throw went wide for an error.

“I just couldn’t complete the play,” Sano said through a translator.

Giancarlo Stanton followed with a slow roller gloved by a charging Sano, who did not make a throw as Stanton crossed first with an infield hit.

Red Sox 5, Blue Jays 4

J.D. Martinez hit a three-run homer, Chris Sale won for the first time in three starts and the Boston Red Sox rallied to beat the host Toronto Blue Jays.

Andrew Benitendi had two hits and an RBI for the Red Sox, who returned home after a 6-3 trip. The Red Sox are a major league-best 19-5, including 7-1 in one-run games.

Justin Smoak and Devon Travis hit solo home runs for the Blue Jays, who have lost five of seven.

Rays 9, Orioles 5

C.J. Cron and Wilson Ramos homered and the Tampa Bay Rays extended their winning streak to six games with a victory over the host Baltimore Orioles.

It’s the Rays’ longest winning streak since a nine-game run from July 12-26, 2014.

Adam Jones had three hits, including his fourth home run of the season for the Orioles, who have lost 11 of 12 and are 1-5 on the current nine-game homestand. Manny Machado had two hits and earned his team-leading 18th RBI.

NATIONAL LEAGUE: Braves 7, Reds 4

Ronald Acuna Jr. and Ozzie Albies, the two youngest players in the major leagues, both homered and combined for five RBI to lead Atlanta over host Cincinnati to give the Braves a split of the four-game series.

Acuna became the youngest player in the major leagues Wednesday at 20 years, 128 days, and went 1-for-5 in his debut. He led off the second inning with a home run five rows deep into the left-field upper deck against Homer Bailey, singled in the sixth and hit a tiebreaking double off Wandy Peralta (1-1) in the eighth following Freddie Freeman’s third double of the game.

Cardinals 4, Mets 3, (13 innings)

Dexter Fowler’s 13th-inning single capped a comeback from a pair of deficits and gave the host St. Louis Cardinals a victory over the New York Mets.

St. Louis trailed 2-0 in the seventh and 3-2 in the 10th. Tommy Pham had four hits and scored twice, a day after leaving a game after cutting his head with his bat while warming up in an indoor batting game. He played with a large bandage on his head.

Jose Martinez walked with one out in the 13th against Paul Sewald (0-1), took second on a single by Marcell Ozuna and scored when Fowler singled to right for his sixth game-ending RBI.

Cubs 1, Brewers 0

Kyle Hendricks outpitched Chase Anderson with seven crisp innings, and the Chicago Cubs stopped visiting Milwaukee’s eight-game win streak with a victory over the Brewers.

Hendricks (2-1) allowed four hits, struck out five and walked none in his best outing this season. Anderson (2-2) stayed with him until Kyle Schwarber drove a 0-1 pitch over the wall in right for his seventh homer with one out in the sixth.

Diamondbacks 8, Phillies 2

Jarrod Dyson, Nick Ahmed and David Peralta homered and the Arizona Diamondbacks earned a victory over the host Philadelphia Phillies.

The Diamondbacks improved to 17-7, matching the best 24-game start in franchise history. Arizona also went 17-7 in 2008.

Dyson hit a two-run homer in the first and Chris Owings added an RBI double off Ben Lively (0-2) to give the Diamondbacks a 3-0 lead.

Arizona added five runs in the third inning on Ahmed’s three-run homer and Peralta’s two-run shot. Peralta’s shot was off reliever Drew Hutchinson.

Lively allowed seven runs and seven hits in 2⅓ innings.

INTERLEAGUE: Pirates 1, Tigers 0

Corey Dickerson hit the first game-ending home run of his major-league career, a disputed one-out drive in the ninth inning that lifted host Pittsburgh over Detroit.

Dickerson sent an 0-1 slider from Alex Wilson (0-1) just over the 21-foot-high wall in right field, at first standing at the plate and watching the drive before starting to jog up the first-base line. A fan in a Pirates sweatshirt reached out and caught the ball, and Wilson immediately pointed to ask for a video of the initial home-run call.

Dickerson rounded third base and rolled his helmet toward the plate. Nearly two minutes later, the home-run call was upheld.