Thompson replaced Shaw during the winning drive, covering the final 43 yards after Shaw began the march from his own 30. Devin Gardner's third TD pass of the game had given Michigan a 28-27 lead.
Shaw threw for 227 yards and two touchdowns after missing South Carolina's regular season finale with a left foot sprain. Thompson led the Gamecocks (11-2) to a victory over their archrival, and threw for 117 yards and two TDs.
Gardner threw for 214 yards in his fifth start for Michigan (8-5) since Denard Robinson injured his right elbow late in the season. Robinson took some snaps at quarterback and attempted his first passes since Oct. 27, but lined up mostly at running back and rushed for 100 yards on 23 carries.
Ace Sanders caught TD passes of 4 yards from Thompson and 31 yards from Shaw, who completed 18 of 26 passes before limping off on the final drive. The speedy receiver had nine catches for 92 yards and also scored on a 63-yard punt return — one of four plays over 50 yards that Michigan yielded.
NO. 21 NORTHWESTERN 34, MISSISSIPPI ST. 20
JACKSONVILLE, Fla. (AP) — Behind huge interceptions early and late, Northwestern beat Mississippi State 34-20 in the Gator Bowl and snapped college football's longest postseason losing streak.
The Wildcats (10-3) earned their first bowl win since 1949, ending a nine-game losing skid that was tied for the longest in NCAA history. They also celebrated double-digit victories for the first time since the 1995 Rose Bowl season.
Quentin Williams returned an interception 29 yards for a touchdown on the third play of the game and Nick Vanhoose set up a late touchdown with a 39-yard interception return. Those plays were the difference in a back-and-forth game that featured more interceptions (seven) than touchdowns (six).
Northwestern's two-quarterback system kept the Bulldogs (8-5) off balance most of the day.
Scrambler Kain Colter ran for 71 yards, making up for his two interceptions. Backup Trevor Siemian threw for 120 yards and an interception, and also ran for a score.