Scherzer (5-3) retired nine consecutive batters before Nick Punto led off the seventh with a walk, forcing the right-hander from the game. He allowed three runs and seven hits in his third consecutive victory, closing out a strong May.
Young hit a solo drive in the eighth to make it 5-3, then added a run-scoring single in the ninth.
Jarrod Saltalamacchia hit his 10th homer for Boston, which was seeking its first four-game sweep against the Tigers since 2004. Josh Beckett (4-4) allowed four runs and a season-high 10 hits in seven innings.
The Red Sox opened May with eight losses in nine games to drop to 12-19 on the year. But they closed out the month with a 14-6 run to pull within three of the division lead.
Young and Quintin Berry each had three hits for Detroit, which finished with 14 overall. Berry also scored twice and stole two bases.
Copyright 2012 by The Associated Press
This story is from ESPN.com's automated news wire. Wire index
MORE MLB HEADLINES
- Source: Ellsbury, Yanks agree on 7-year deal
- Source: Mets, Granderson talk 3-year deal
- Konerko returns to White Sox for 16th season
- Insurance? Yanks, 2B Johnson close to deal