BALTIMORE (AP) Jacob deGrom took a four-hitter into the eighth inning, Curtis Granderson hit two solo homers and the New York Mets beat the Baltimore Orioles 5-3 Tuesday night to snap a three-game losing streak.

Granderson connected off Kevin Gausman (2-5) on the game's second pitch and homered again in the fifth, then deGrom made the lead stand for the first-place Mets.

Baltimore had won four straight.

More from FoxSports

New York has won nine in a row against the Orioles dating back to June 2010.

The 6-foot-4 deGrom (12-6) gave up one run, five hits and a walk in 7 2/3 innings. The right-hander struck out six and lowered his ERA to 1.98, second-best in the National League behind the Dodgers' Zack Greinke.

YANKEES 8, TWINS 4

NEW YORK (AP) - Alex Rodriguez hit a slump-busting grand slam in the seventh inning, and the Yankees rallied from a three-run deficit against a depleted bullpen to beat the Twins.

A-Rod extended his major league record for grand slams, hitting the 25th of his career into the Yankees bullpen off J.R. Graham (0-1) to put New York up 5-4. Rodriguez connected on a 95 mph fastball, snapping an 0-for-18 slump and earning a curtain call from the crowd of 38,007.

Rookie Miguel Sano homered for the second consecutive game, a two-run shot off CC Sabathia, and Shane Robinson had an RBI single against Nick Rumbelow (1-0) in the seventh to give Minnesota a 4-1 lead.

BLUE JAYS 8, PHILLIES 5

PHILADELPHIA (AP) - Josh Donaldson hit two homers, and Edwin Encarnacion also went deep as the Blue Jays beat the Phillies.

The AL wild card-leading Blue Jays have won 13 of 15. They entered one game behind the AL East-leading New York Yankees.

The Phillies, who have the worst record in the majors, have lost four straight and five of six after winning 16 of 21 following the All-Star break.

Donaldson hit a drive off Aaron Nola into the second deck in left field in the first. His three-run shot in the sixth off Jeanmar Gomez (1-3) gave the Blue Jays a 7-5 lead.

Liam Hendricks (4-0) pitched out of a jam in the fifth.

RED SOX 9, INDIANS 1

BOSTON (AP) - Travis Shaw went 4 for 4, Mookie Betts drove in three runs with a bases-loaded double and the Red Sox beat the Indians, announcing a major front-office shake-up late in the game.

Dave Dombrowski was hired to take over baseball operations for general manager Ben Cherington. Boston is in danger of finishing last in the AL East for the third time in four seasons.

Brock Holt had three hits and two RBIs for the Red Sox, who have won five of six and continued a recent offensive surge with 16 hits.

Boston's Eduardo Rodriguez (7-5) pitched eight solid innings. Trevor Bauer (9-10) was pulled early for the second straight start.

ROYALS 3, REDS 1, 13 INNINGS

CINCINNATI (AP) - Ben Zobrist tied the game with a homer in the ninth inning, Jarrod Dyson scored the tie-breaking run from first base on pitcher Ryan Mattheus' throwing error and the Royals went on to a 13-inning victory over the Reds.

Dyson led off the 13th with a single and scored when Mattheus (1-4) threw a sacrifice bunt by Kris Medlen (1-0) down the right field line.

Greg Holland finished for his 27th save.

Zobrist stunned the crowd of 28,719 by leading off the ninth against Aroldis Chapman with his 10th homer of the season. Chapman had converted 56 consecutive save opportunities at home since blowing one against Houston on Sept. 7, 2012.

MARINERS 3, RANGERS 2

ARLINGTON, Texas (AP) - Hisashi Iwakuma followed his no-hitter by limiting Texas to two runs and five hits over seven innings as the Mariners beat the Rangers.

All of Seattle's scoring came in the first inning on three extra-base hits, including Seth Smith's 10th home run of the season.

Iwakuma (5-2) gave up a hit to Texas' second batter, a single by Shin-Soo Choo. He retired 12 straight at one point and struck out six while walking one.

The right-hander no-hit Baltimore 3-0 in Seattle last Wednesday.

The Rangers' winning streak ended at five games.

Rangers rookie right-hander Chi Chi Gonzalez (2-5) set a career high with seven strikeouts.

MARLINS 9, BREWERS 6

MILWAUKEE (AP) - Ichiro Suzuki had his first four-hit game in over two years, and Cole Gillespie drove in a season-high three runs to lead the Marlins past the Brewers.

Suzuki was 4 for 5 with two runs scored for his first four-hit game since July 28, 2013.

Adeiny Hechavarria extended his career-high hitting streak to 12 games and relief pitcher Kendry Flores (1-1) faced one batter in the fourth in his first major league victory. With the bases loaded, A.J. Ramos got the final out in the ninth for his 20th save.

Milwaukee rookie starter Tyler Cravy (0-5) lasted only 2 2-3 innings after giving up seven runs - four earned - to go with seven hits and three walks.

ASTROS 3, RAYS 2

HOUSTON (AP) - Marwin Gonzalez had three hits and his 10th-inning leadoff homer lifted the Astros to a victory over the Rays.

The game was tied at 2-all when Gonzalez connected off All-Star closer Brad Boxberger (4-9), sending a full-count fastball into the seats in right field to give Houston the win.

Luke Gregerson (6-2) pitched two scoreless innings for the win.

The Rays led 2-1 in the eighth before an RBI double by Carlos Correa tied it up.

Curt Casali homered for the Rays, who lost for the fourth time in five games.

GIANTS 2, CARDINALS 0

ST. LOUIS (AP) - Ryan Vogelsong pitched six innings of two-hit ball and ace Madison Bumgarner keyed a seventh-inning rally with his first career pinch hit, helping the San Francisco Giants beat the St. Louis Cardinals 2-0 on Tuesday night.

Brandon Crawford doubled leading off the fifth for the Giants' first hit when left fielder Brandon Moss couldn't quite hold onto his drive down the line near both walls.

The Giants have won six of eight and handed the Cardinals, who got a strong bounce-back outing from Lance Lynn (9-8), just their 19th home loss compared with 45 wins.

Vogelsong (9-8) struck out five and walked one while throwing 101 pitches.