Rajai Davis also connected for the Tigers, who have won two straight to earn a split of this four-game series.
''We were having better at-bats, we weren't chasing as many pitches,'' said Tigers manager Brad Ausmus. ''We've been kind of waiting for this for a while. ... It was nice to have those guys pick Miggy up.''
Detroit trials Kansas City by two games in the American League Central and is one back of Seattle for the second AL wild card.
Minnesota scored 32 runs in winning the first two games of the series and Detroit had 21 in taking the last two.
The Tigers' 60 hits in the four games is their most in a four-game series since having 60 at Chicago from July 6-8, 1956. Minnesota set a franchise record for most hits allowed in a four-game series, surpassing the 59 yielded at Texas July 25-28, 2011.
Cabrera didn't play after aggravating a sore right ankle Saturday. With the Tigers off Monday, Ausmus thought giving the slugger two days to rest was not a bad thing, adding he'd be ''shocked'' if Cabrera does not play Tuesday.
Martinez homered off Brian Duensing in the sixth for a 7-3 lead. His 25th home run of the season ties his career high set in 2007 with Cleveland.
Davis hit his two-run homer in the seventh to make it 9-3. A bases-loaded triple by Hunter made it 13-4 in the eighth.
''Just to bounce back from losing 20-whatever and 12-whatever, to bounce back shows the fight we have,'' Hunter said.
''The last two ballgames, their big boys threw and there you have it, it does make a difference,'' said manager Ron Gardenhire.
After Justin Verlander won Saturday night, Scherzer (15-4) lasted just five innings, allowing seven hits and three earned runs, but the Detroit bullpen allowed just one earned run on five hits the rest of the way.
Minnesota starter Kyle Gibson (11-10) only pitched 4-2/3 innings on a hot and humid afternoon, allowing five earned runs on eight hits. He also walked four, hit a batter and threw a wild pitch. This was the third time in four stars the right-hander allowed five runs.
''It's one of those starts where six innings, seven innings, three runs would've been good for the lack of fastball command I had,'' Gibson said. ''I think the more I pitch, that's the consistency I'm looking for.''
The game took 4 hours, 10 minutes, the longest nine-inning game in Minnesota history, surpassing the 4:05 against Toronto on July 25, 1987.