Johnson’s five touchdowns sparks 49ers' comeback