NEW YORK (AP) Blake Swihart hit an inside-the-park home run in the 10th inning and the Boston Red Sox stopped the New York Mets' seven-game winning streak, holding on for a 6-4 victory Friday night.

The Red Sox, visiting the Mets for the first time since 2001, scored three times in the 10th. Swihart led off with a drive that appeared to clear the center field wall and bounce back into play, but the ball was ruled in play.

The NL East-leading Mets rallied in the bottom half when reliever Junichi Tazawa walked four straight batters with two outs to force home a run. Craig Breslow replaced Tazawa and retired Yoenis Cespedes on a fly ball with the bases loaded for his first save.

More from FoxSports

Tommy Layne (1-1) got the win. Carlos Torres (5-6) took the loss.

MARLINS 4, NATIONALS 3

WASHINGTON (AP) - Martin Prado and Marcell Ozuna homered off Max Scherzer, and Miami beat Washington.

The Nationals remained 6 1/2 games behind the Mets in the NL East.

Scherzer (11-11) went seven innings, allowing four runs and six hits. He has lost three straight starts for the first time since May 2010.

Adam Conley (2-1), in his fifth major league start, gave up three runs and six hits over five-plus innings.

A.J. Ramos pitched around a leadoff single in the ninth for his 23rd save.

BLUE JAYS 5, TIGERS 3

TORONTO (AP) - Josh Donaldson and Troy Tulowitzki hit back-to-back homers, Jose Bautista also connected and Toronto won for the eighth time in 10 games, beating Detroit.

Ian Kinsler and Anthony Gose homered for the slumping Tigers, who have lost seven of eight.

R.A. Dickey (9-10) pitched 6 2-3 innings to win his sixth straight decision for the AL East leaders. Roberto Osuna struck out the side in the ninth for his 16th save.

All three Blue Jays homers came off rookie Matt Boyd (1-5), one of the three lefty pitchers acquired by Detroit in the July 30 trade that sent David Price to Toronto.

YANKEES 15, BRAVES 4

ATLANTA (AP) - Didi Gregorius drove in a career-high six runs, Brian McCann hit a three-run homer in his return to Atlanta and the New York Yankees shook off a scoring slump.

The Yankees scored a total of seven runs in losing three of their last four games to fall 1 1/2 games behind first-place Toronto in the AL East.

Gregorius had four hits, including a three-run homer in the first inning and a two-run single in the second. McCann, the former longtime Braves catcher, homered in the eighth.

Masahiro Tanaka (10-6) went seven innings. Williams Perez (4-5) left in the second inning.

Braves outfielder Jonny Gomes, making his first career appearance as a pitcher, gave up two runs in the ninth.

RANGERS 4, ORIOLES 1

ARLINGTON, Texas (AP) - Cole Hamels delivered his best performance yet for the Texas Rangers, striking out 10 in eight innings to beat Baltimore.

Star outfielder Adam Jones started for the Orioles, a day after he ran into a wall and was forced to leave, but Baltimore lost for the eighth time in nine games.

Hamels (2-1) gave up one run and two hits. Acquired from Philadelphia shortly before the July 31 non-waiver trade deadline, the three-time All-Star won for the first time at home after a pair of no-decisions.

Shawn Tolleson pitched a scoreless ninth inning for his 27th save in 29 chances. Texas held its lead for the second AL wild-card spot.

Kevin Gausman (2-6) has made 11 starts this season, beginning in late June, with one win.

TWINS 3, ASTROS 0

MINNEAPOLIS (AP) - Eduardo Nunez homered and Kyle Gibson pitched 5 2-3 scoreless innings to help Minnesota top AL West-leading Houston.

Gibson (9-9) gave up four hits, struck out four and walked three. Kevin Jepsen picked up his ninth save, giving the Twins their seventh win in their last eight games to surge back into wild card contention.

Astros star Jose Altuve flied out with the bases loaded to end the game.

Scott Kazmir (2-4) allowed three runs on three hits and struck out six in seven innings.

ROYALS 3, RAYS 2

ST. PETERSBURG, Fla. (AP) - Kendrys Morales hit his 15th homer, Edinson Volquez pitched into the seventh inning and AL Central-leading Kansas City beat Tampa Bay.

Morales put the Royals up 3-1 with a two-run shot in the third off Erasmo Ramirez (10-5) that struck an overhanging catwalk. He has 89 RBIs this season, including a majors-best 46 with two outs.

Volquez (12-7) allowed two runs and six hits in 6 2-3 innings. Greg Holland, the third Kansas City reliever, got three outs for his 29th save.

PIRATES 5, ROCKIES 3

PITTSBURGH (AP) - Pinch-hitter Josh Harrison singled home Francisco Cervelli with the go-ahead run in the eighth inning and the Pittsburgh bullpen continued its hot streak in a win over Colorado.

Tony Watson (3-1) earned the win with a scoreless inning. Mark Melancon worked a perfect ninth for his major league-leading 42nd save. Pittsburgh relievers haven't lost a decision since June 25, strengthening their grip on the top NL wild-card spot.

Scott Oberg (3-3) took the loss.

INDIANS 3, ANGELS 1

CLEVELAND (AP) - Trevor Bauer, starting in place of an ill Danny Salazar, allowed one run in eight innings and Cleveland defeated the Los Angeles Angels.

Bauer (10-10) won for the second time in nine starts. He replaced Salazar, who was scratched because of a virus. Bauer allowed five hits and struck out seven.

Cody Allen worked a perfect ninth for his 27th save.

Jason Kipnis, the American League's leading hitter (.324), drove in the go-ahead run with a seventh-inning single to cap a three-run rally. Kipnis, who had struck out twice and hit into a double play in his first three at-bats, delivered off Trevor Gott (2-2).

MARINERS 2, WHITE SOX 0

CHICAGO (AP) - Kyle Seager and Franklin Gutierrez both had three hits and a homer and Taijuan Walker allowed three hits before leaving with an injury in the seventh inning as Seattle beat the Chicago White Sox.

Walker (10-7) suffered a cramp in his right hip flexor after working 6 1-3 innings.

Tom Wilhelmsen pitched the ninth to earn his fifth save in as many opportunities.

John Danks (6-12) took the loss.

BREWERS 5, REDS 0

MILWAUKEE (AP) - Taylor Jungmann pitched six strong innings and fellow rookie Domingo Santana homered to lead Milwaukee over Cincinnati.

Jungmann (8-5) limited the Reds to three hits and three walks while striking out five.

Rookie Raisel Iglesias (3-6) turned in a strong performance of his own by retiring 16 straight during one stretch.

PHILLIES 7, PADRES 1

PHILADELPHIA (AP) - Rookie Aaron Nola pitched seven strong innings and Cameron Rupp homered and drove in four runs, leading Philadelphia past San Diego.

Rookie Aaron Altherr had an RBI triple as the Phillies ended their four-game losing streak. He has seven hits in the majors, all for extra bases.

Nola (5-1) allowed one run and two hits, striking out six.

Jerome Williams pitched two perfect innings to earn his first save. He was moved to the bullpen prior to the game to make way for righty Alec Asher.

Ian Kennedy (8-12) gave up two runs and two hits in 6 2-3 innings.