Quinn Sharp converted the decisive 22-yard kick after Chelf hauled in Brandon Weeden's pass over the middle, and was then tackled just short of the end zone. Sharp's game-winning kick gave the Cowboys (12-1) their first lead of the game.
They secured the first 12-win season in school history after Stanford's Jordan Williamson missed a 35-yard field goal try on the final play in regulation time, as well as a 43-yard attempt in overtime.
Wheeden completed 29-of-42 passes for 399 yards and three touchdowns -- all to Justin Blackmon, who finished with eight grabs for 191 yards.
Andrew Luck finished up his stellar collegiate career by going 27-of-31 through the air for 348 yards, two TDs and an interception for Stanford (11-2).
Stepfan Taylor amassed 176 rushing yards and two touchdowns on 35 carries.
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'
Martin Bashir resigns from MSNBC over Sarah Palin comments