young , who relieved montana in the second half , teamed with john taylor on a 34-yard touchdown pass play with 29 seconds left to enable the 49ers to finish the regular season 14-2 , the best record in the nfl .