Gerrit Cole (3-3) pitched five innings to help the Yankees end their longest slide since a nine-game skid Aug. 12-22, 2023.