TORONTO — Aaron Judge broke a 4-all tie with a two-run single in the ninth inning, Juan Soto and Giancarlo Stanton hit solo home runs and the New York Yankees rallied to beat the Toronto Blue Jays 6-4 on Wednesday, avoiding their first sweep of the season.