SAN FRANCISCO — Juan Soto homered twice, including a go-ahead drive in a four-run ninth inning against All-Star closer Camilo Doval, and the New York Yankees rallied past the San Francisco Giants 7-5 on Sunday.
Giants starter Blake Snell, a two-time Cy Young Award winner, exited in the fifth with left groin tightness and will undergo an MRI on Monday. He appears headed to the injured list for a second time this season, manager Bob Melvin said.
Anthony Volpe hit an RBI triple and Giancarlo Stanton drove in a run with a ground-rule double against Doval in the ninth.
Aaron Judge had two singles while extending his on-base streak to 29 games as the AL East leaders won their fifth straight and completed a 7-2 trip to three California cities with a three-game sweep at Oracle Park.
''We've been playing great baseball,'' Soto said. ''Really happy to come over here and keep doing what we've been doing since day one.''
Soto homered off Snell in the first inning, then reached on a bunt single and scored in the fifth.
New York trailed 5-3 in the ninth before Gleyber Torres got the rally started with a leadoff single. Yankees catcher Jose Trevino grounded into a fielder's choice, beating out a potential double play, and Volpe sent a line drive into triples alley in right-center to drive in Trevino. Soto followed with his 17th home run to give New York a 6-5 lead, bringing roars from the large chunk of the crowd wearing Yankees gear.
Soto flipped his bat high in the air, pounded his chest and shouted in excitement toward the Yankees' dugout. New York has homered in a season-high 12 consecutive games.