Miguel Andujar homered and singled in the go-ahead run in the 13th inning, Sonny Gray won in his first relief outing since 2013 and the New York Yankees beat the Chicago White Sox 4-3 on Tuesday night.
Andujar had three hits, including a go-ahead single in the 13th, and Giancarlo Stanton added a two-run shot as New York won its second straight following a five-game skid.
Gray (9-8) pitched three scoreless innings in his first appearance since losing his spot in the starting rotation. He allowed a hit and a walk while striking out four. Gray hadn't come out of the bullpen since his rookie season with Oakland.
After Stanton's homer made it 3-1 in the 10th, Jose Abreu hit a two-run homer against Zach Britton in the bottom of the inning.
Didi Gregorius started the 13th-inning rally with a one-out walk against Luis Avilan (2-1). After Gleyber Torres struck out, Luke Voit singled to put runners on first and second. Andujar then singled to left, scoring Gregorius.
Abreu's homer was his 20th this season, making him the 18th player with least 20 homers in each of his first five seasons.
Yankees starter CC Sabathia struck out 12 and allowed a run over 5 2/3 innings. The left-hander became the first player 38 or older with that many strikeouts in a game since Randy Johnson on Aug. 22, 2008, according to ESPN Stats & Info.
White Sox starter Reynaldo Lopez took a no-hitter into the sixth inning and allowed one run and four hits in seven innings.
Chicago took a 1-0 lead in the third on a sacrifice fly by Abreu.
With one out in the fifth, Lopez appeared to lose the no-hitter and shutout on the same pitch. Kyle Higashioka hit a drive to center that looked destined for the bleachers, but center fielder Adam Engel ran back and reached well over the wall to bring it back.
It was the second straight night Engel has taken away an apparent home run. On Monday, he robbed Greg Bird of a potential three-run shot when he made a leaping catch in the fourth inning.
Aaron Hicks broke up the no-hitter with a leadoff double in the sixth.
Andujar's homer leading off the seventh tied it at 1.