Northern Illinois (8-3, 6-1) moved into a first-place tie in the Mid-American West with Toledo.
Huff's score put the Huskies on top 14-3 early in the second quarter. Western Michigan pulled to 14-10 when Zach Terrell led an 11-play, 75-yard drive that ended with 35-yard touchdown pass to Daniel Braverman.
Western Michigan scored 10 straight points in the third. Andrew Halderman made a short field goal and Terrell threw a 72-yard touchdown pass to Corey Davis to put the Broncos up 19-14.
The Huskies regained the lead early in the fourth when Joel Bouagnon ran it in from 12 yards out. Ryan Graham's 53-yard strike to Kenny Golladay gave Northern Illinois an eight-point lead with 8:15 left. Western Michigan turned it over on downs on its final two drives.