HOUSTON — Oakland rookie Matt McGloin was so good in a victory over the Houston Texans that it raised questions about whether Terrelle Pryor will get his job back when he's healthy.

The undrafted free agent threw three touchdown passes in his first NFL start, and the Raiders extended Houston's franchise-record skid to eight games with a 28-23 victory Sunday in coach Gary Kubiak's return from a mini-stroke.

Oakland coach Dennis Allen evaded the question when asked if McGloin would remain the starter when Pryor has recovered from a knee injury.

“Listen, here's what I'm going to do — I'm going to enjoy this win, all right,” Allen said. “We're going to go back and we'll evaluate. But he definitely did a very good job today.”

McGloin was 18 of 32 for 197 yards. Houston's Case Keenum, also an undrafted free agent, was benched after the Texans' offense stalled in the third quarter.

McGloin threw touchdown passes of 5, 16 and 26 yards to help the Raiders score their most points of the season.

“There is always more to prove and more to do,” McGloin said. “I think I got off to a good start, but we will see.”

Kubiak coached upstairs from the booth on doctor's orders two weeks after collapsing at halftime of Houston's loss to Indianapolis.

He benched Keenum for Matt Schaub with Houston trailing by 11 points. The Texans cut the lead with two field goals in the fourth quarter and had a chance to take the lead late. But Schaub's pass to Andre Johnson on fourth down from the 8 was broken up in the end zone.

Johnson and Schaub were yelling at each other on the field after the play and the screaming match continued on the sidelines, a clear indication of the frustration on a disappointing team that was supposed to contend for a Super Bowl.

Johnson said the argument came because the receiver “messed up” and didn't finish the play.

“We just exchanged some words,” he said. “It's just heat of the moment. Once we came in the locker room, we talked about it, left it alone so I'm not worried about that. Me and Matt have played a lot of football together.”

Schaub also brushed off their disagreement.

“It's just emotions, emotions of the game, a culmination of a lot of things, but stuff we'll keep between us,” Schaub said.

Kubiak replaced Keenum with Schaub after Houston's first three drives of the second half all ended in punts. Schaub was terrible early this season and hadn't played since Oct. 13, after he was benched after an injury.

Keenum threw for 170 yards with a touchdown and an interception. Schaub had 155 yards passing.