Mastroianni collected a two-out single in the 12th against Scott Maine (1-1) -- the Tribe's club-record 10th pitcher -- and stole second to get into scoring position.
Alexi Casilla then hit a routine grounder to second baseman Jason Kipnes, but first baseman Matt LaPorta didn't cover the bag in time, allowing Mastroianni to come around and slide home for a 5-4 Twins lead.
Pedro Florimon then gave Minnesota a much-needed insurance run with an RBI single.
Lonnie Chisenhall socked a solo homer for Cleveland.
NBC reportedly holds celebs hostage to Jimmy Fallon's show
Ray Liotta sues skin care company over use of likeness