Shaw tied school records for home runs and RBIs in a game as the Terps trounced the Wolverines.
The Terps relief pitchers rebounded from a dismal loss on Friday to take the series.
The three-RBI homer snatched the victory for the Terps in the first match of a three-game series against the Buckeyes.
The Terps and the Golden Gophers bashed seven total homers in their series opener.
The Terps scored five runs in the seventh and eighth innings to put the Nittany Lions away.
Nick Lorusso played hero for the second straight game, hitting a clutch two-RBI single in the ninth inning.
Dean pitched seven shutout innings against the Bears in the Terps' 2022 season opener.