The Panthers were trailing 4-2 when Drew Shore cut the deficit on a score with 5:32 remaining in the third period.
Then, with Florida short-handed, the Red Wings turned the puck over in the attacking zone and Panthers broke out on an odd-man rush. Boyes rattled a shot off the far post and past Jonas Gustavsson to knot the score with 3:46 left.
Nick Bjugstad got the only goal of the shootout and Thomas made it stand up with a pair of saves, giving Florida a win in the opener of a four-game road trip.
Thomas Tatar and Riley Sheahan each notched a goal with an assist while Gustav Nyquist and Daniel Alfredsson also scored for the Wings, who completed a 3-1-1 homestand.
Gustavsson finished with 33 saves.
McPhee, Cokas 'working on their marriage' after affair
Duggar sisters unveil Christian dating rules in new book