Webb (9-9) went seven innings and allowed only a pair of first-inning runs.
Matt Wallner hit a three-run homer for the Twins, who lost for the sixth time in seven games.
Yankees starter Gerrit Cole (10-2) settled down after a shaky beginning and allowed two runs on four hits in seven innings.
Dylan Cease (4-5) was knocked out after 1 2/3 innings, having matched a season worst by allowing seven runs.
Ragans (3-3), who was recalled from Triple-A Omaha prior to the game, gave up seven hits and one walk while striking out a career-high eight.
Persons:
Josh Bell, Rich Storry, Jesus Sanchez, Sanchez's, Alec Bohm, Brandon Marsh slugged, Miami's Jorge Soler, Dansby Swanson, Jeimer Candelario, Christopher Morel, Ian Happ, Seiya Suzuki, Drew Smyly, Michael Fulmer, Buck Farmer, Ronald Acuna Jr, Austin Riley, Matt Olson, Acuna, Lucas Giolito, Riley, Olson, Davis, San Francisco, Logan Webb, Webb, Camilo Doval, Tyler Gilbert, Rosario, Miguel Rojas, Mookie Betts, Jason Heyward, Freddie Freeman, Los Angeles, Tony Gonsolin, Shea Langeliers, Devin Williams, Alex, Andruw Monasterio, Christian Yelich, Chas McCormick, McCormick, Yainer Diaz, Phil Maton, Oscar Gonzalez, Nick Sandlin, Alec Burleson, Lars Nootbaar, Louis, Tyler O'Neill, Jordan Walker, Dakota Hudson, Jack Flaherty, Matt Wallner, Joe Ryan, Ryan, Julio Rodriguez's, Cal Raleigh, Matt Brash, Andres Munoz, John Schreiber, Gary Sanchez, Juan Soto, Seong Kim, Fernando Tatis Jr, Xander Bogaerts, Joe Musgrove, Nick Martinez, Ray Kerr, Zack Short, Riley Greene, Jake Rogers, Javier Baez, Eduardo Rodriguez, Rodriguez, Yusei Kikuchi, Grayson Rodriguez, Giancarlo Stanton, Anthony Volpe, Shane McClanahan, Gerrit Cole, McClanahan, Corey Seager, Josh Jung, Marcus Semien, Dane Dunning, Dylan, Seby Zavala, Cole Ragans, Michael Massey, Aroldis Chapman
Organizations:
Miami Marlins, gatorade, Philadelphia Phillies, Marlins, Phillies, Cubs, Reds, Chicago, Braves, Angels, League, Atlanta, Giants, Diamondbacks, Arizona, The Giants, Dodgers, Oakland, Nationals, Brewers, Washington, Milwaukee, Astros, Houston, Cardinals, Twins, Minnesota, Mariners, Red Sox, Seattle, Boston, The Mariners, Cal, American League, Padres, Rockies, Diego, Colorado, Triple, El, Tigers, Pirates, Detroit, Pittsburgh, Los Angeles Dodgers, Blue Jays, Orioles, Toronto, Baltimore, Yankees, Rays, York, Tampa, Rangers, White Sox, Texas, Royals, Mets, Kansas City, Thomson
Locations:
Miami , Florida, USA, loanDepot, Cincinnati, Los Angeles, Angeles, Los, Cleveland, Boston, Denver, El Paso, Texas, Arlington , Texas, York, Omaha