UAB trailed only midway through the first half, taking control after halftime. The Blazers took a 50-40 lead with 5:06 left in the second half when Soko made a free throw.
UCF tried to rally late, but the Golden Knights (16-9, 3-9) didn't have enough time. Marcus Jordan, who led UCF with 18 points, scored on a layup and A.J. Rompza hit a 3-pointer to cut the margin to three with seven seconds left.
But Sanders' two free throws gave UAB, which has won of four of its last five games, enough cushion for the win.
San Diego State's student section, "The Show," has been known to harass opponents. Does it make Viejas Arena the Mountain West's most difficult venue?
Which venue in the Mountain West is the toughest place to steal a win? Cast your vote.
Who can challenge DeAndre Ayton for No. 1 in the ESPN 100? It's one of the issues worth watching as we exit basketball recruiting's biggest month.