MLB noted the achievement via Twitter:
The triumph was buoyed by a three-run home run courtesy of first baseman Greg Bird at the top of the fifth inning and a solo jack from Todd Frazier in the eighth.
Right-hander Sonny Gray drew the start for the Bronx Bombers and pieced together an efficient outing.
In six innings, the Yankees' big non-waiver trade deadline acquisition allowed four hits and struck out four batters while allowing just one earned run—a solo homer off the bat of Teoscar Hernandez in the bottom of the third.
"It's great, but it's just the beginning for this team," right fielder Aaron Judge said, according to MLB.com's Bryan Hoch. "We've just got to keep working. We're not done yet."
Speaking of which, the Yankees are likely to slot into the top wild-card position barring a major collapse from the Red Sox over the final week of the regular season.
Following a 5-0 win over the Cincinnati Reds on Saturday at Great American Ball Park, the Red Sox remained four games clear of the Yankees for first place in the AL East with eight games to play.
Should the Yankees wind up hosting the AL Wild Card Game at Yankee Stadium, they will attempt to avoid falling flat like they did in 2015, when the Astros defeated them 3-0 to secure a spot in the American League Division Series.