Miller Moss threw for 182 yards and accounted for four touchdowns, three of which were in the air, as the Cardinals (8-4) snapped a three-game losing streak.
The Tigers (7-5) also got a touchdown run from Adam Randall, two field goals from Nolan Hauser and their defense held strong as the Gamecocks (4-8) tried to rally.