Yankees designated hitter Giancarlo Stanton, left, celebrates with teammate Rougned Odor after hitting a three-run home run during the third inning Friday against the Red Sox at Fenway Park in Boston. Mary Schwalm/Associated Press

BOSTON — Gerrit Cole took a two-hit shutout into the sixth inning and Giancarlo Stanton hit a three-run homer to lead the Yankees to an 8-3 victory Friday night, snapping Boston’s seven-game winning streak and pulling New York within one game of the Red Sox atop the wild-card standings.

With Boston in its lucky yellow jerseys and Fenway Park sold to capacity for just the third time this season, Cole (16-8) no-hit the Red Sox for 3-2/3 innings and New York coasted to its fourth straight win. In a potential preview of the AL wild-card matchup, Nathan Eovaldi (10-9) barely made it out of the first inning and couldn’t get through the third.

Boston starting pitcher Nathan Eovaldi, center, struggled against the Yankees, allowing seven earned runs in less than three innings with zero strikeouts and two walks. Mary Schwalm/Associated Press

Boston holds the first American League wild card, with the Yankees a game back and in position for the second spot. Toronto entered the night third, one game behind New York.

Unless the Blue Jays – or Seattle (two games back), or Oakland (four) – can catch one of them, the Red Sox and Yankees would meet in a one-game playoff Oct. 5 for the right to advance to an AL Division Series.

Bouncing back from perhaps his worst start of the season, Cole allowed three runs on five hits and three walks, striking out six in six innings. Stanton and Gleyber Torres had three hits apiece for the Yankees, who opened the season with seven straight losses against their AL East archrivals but have since beaten them seven out of 10 tries.

J.D. Martinez broke up Cole’s no-hit bid with a double down the right field line with two out in the fourth. Rafael Devers spoiled the shutout with a three-run homer in the sixth that made it 7-3.

Torres led off the seventh with a fly ball to straightaway center that was knocked back onto the field by a fan in the front row of the bleachers. There was some confusion before the umpires confirmed that it was a home run.

José Iglesias and Kiké Hernandez singled off Yankees reliever Clay Holmes with two out in the seventh before Wandy Peralta struck out pinch-hitter Bobby Dalbec to end Boston’s last big threat.

With erstwhile ace Chris Sale only making seven starts so far after recovering from Tommy John surgery – and only once completing as many as six innings – Eovaldi had been mentioned as a possible No. 1 starter for Boston’s playoff run. But he allowed seven runs on seven hits and two walks in 2 2/3 innings.

The first three Yankees batters reached base and scored against Eovaldi. Aaron Judge doubled in one run, took third on Stanton’s RBI groundout and scored on Torres’ two-out single.

Stanton hit his 32nd homer of the season in the third. Eovaldi left after giving up Joey Gallo’s single and walking Brett Gardner; Hirokazu Sawamura replaced him and got Kyle Higashioka to pop the ball up, but first baseman Kyle Schwarber let it drop for a run-scoring single that made it 7-0.

Related Headlines

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.