STANFORD, Calif. — Chase Thomas intercepted a tipped pass by Matt Scott in overtime, Stepfan Taylor ran for a 21-yard score two plays later and No. 18 Stanford rallied from a two-touchdown deficit to stun Arizona 54-48 on Saturday.

Josh Nunes threw for a career-high 360 yards and two touchdowns and ran for three more scores for Stanford (4-1, 2-1 Pac-12) to offset Scott's record-setting performance.

Scott completed 45 of 69 passes — both school records — for 491 yards and three touchdowns until Henry Anderson tipped his final pass in overtime that Thomas intercepted. Arizona (3-3, 0-3) amassed 617 total yards but lost for the third straight game and is still winless in conference play.