Joe Bergeron ran for five touchdowns and No. 25 Texas outlasted Baylor 56-50 on Saturday night in another wild one in the Big 12, snapping the Longhorns' two-game losing skid.