ARLINGTON, Texas — The last time Dak Prescott and the Dallas Cowboys were on their home field, they had finished a two-game sweep of last season's Super Bowl teams to spark talk of a rally to a playoff spot.
This time, they watched those postseason hopes all but vanish.
J.J. McCarthy threw for two touchdowns and ran for a score, C.J. Ham had the go-ahead TD on his first carry of the season and the Minnesota Vikings put Dallas on the brink of elimination with a 34-26 victory over the Cowboys on Sunday night.
The Vikings (6-8) won a second consecutive game after they were eliminated from the postseason race before the kickoff. Minnesota was a 14-win playoff qualifier a year ago.
The Cowboys (6-7-1) have to win their three remaining games and hope defending Super Bowl champion Philadelphia goes 0-3 in order for Dallas to overtake the Eagles in the NFC East.
It was a second straight loss for Dallas after a three-game winning streak put them over .500 for the only time this season, capped with victories four days apart at AT&T Stadium over the Kansas City Chiefs and the Eagles.
''Definitely surprised, especially (to) get rolling like we did for those few weeks, then watch the confidence just skyrocket,'' Prescott said. ''Stopping teams, scoring at will, coming back from 21 points (down), a lot of good wins there that, to be in this position just reminds you every play matters. It's a hard game.''
Both of McCarthy's TD tosses were to Jalen Nailor, and the quarterback danced star receiver Justin Jefferson's ''Griddy'' across the goal line when a nifty bootleg left him all alone on fourth-and-goal at the 1.