Undrafted rookie free agent Matt McGloin threw three touchdown passes and Rashad Jennings ran 80 yards for a touchdown as the Raiders snapped an eight-game road losing streak with a 28-23 win over the Houston Texans on Sunday.

It didn't come without the usual drama, as the jumped to a 14-0 first-quarter lead with the help of two turnovers only to trail 17-14 at halftime.

The game wasn't secured until Matt Schaub threw incomplete into the end zone on fourth-and-4 from the 10-yard line with 1:10 to play to send 71,726 fans home unhappy.

In the end, a season-high four touchdowns and 28 points was enough to hold off the Texans and improve to 4-6, with Houston losing its eighth straight game to fall to 2-8.

McGloin threw touchdown passes of 5 yards to Denarius Moore, 16 yards to Rod Streater and a third-quarter strike of 26 yards to fellow rookie Mychal Rivera in his first NFL start.

Jennings' 80-yard run also came in the third quarter. Down 28-17 in the third quarter, Houston managed field goals of 30 and 26 yards from Randy Bullock but couldn't score on three red zone opportunities late in the game.

The Raiders gave McGloin the gift of two short fields with the help of turnovers and the rookie converted both into touchdowns to put the Raiders up 14-0.

The first came when safety Charles Woodson stripped Garrett Graham of the ball and Philip Adams returned it to the 16.

The Raiders called four consecutive running plays before McGloin hit Moore with a 5-yard slant on third-and-goal with 9:26 left in the quarter.

Later, pressure from Stacy McGee on Keenum resulted in a floater that was intercepted by linebacker Nick Roach and also returned to the 16.