Scott Starks returned a Purdue fumble for a 40-yard touchdown in the final minutes to help lift the 10th-ranked Badgers to a 20-17 win over the 5th-ranked Boilermakers.