Didi Gregorius snapped a 2-all tie with an RBI single in the fifth and the Yankees went on to beat the Blue Jays 4-3 in the Bronx.
Aaron Judge added his fifth home run in the seventh, which proved to be the difference.
David Robertson loaded the bases in the eighth, but got out of it with just one run.
CC Sabathia allowed two unearned runs in four-and-a-third innings in just his second start of the season while Chad Green got the win and Aroldis Chapman his third save.
Aaron Sanchez took the loss for Toronto.
Luke Maile and Curtis Granderson had RBI singles for the Jays.