Carson Palmer threw for 300 yards and three touchdowns, David Johnson scored twice and the Arizona Cardinals held on to beat the Washington Redskins 31-23 on Sunday.
The loss by the Redskins (6-5-1) clinched a playoff spot for the 11-1 Dallas Cowboys.
Palmer's 25-yard touchdown pass to Johnson with 11:09 to play put Arizona ahead 24-20, the fourth lead change of the second half.
After a Washington field goal, Palmer's 42-yard touchdown pass to J.J. Nelson with 1:56 padded gave the Cardinals (5-6-1) a 31-23 lead.
Washington drove to the Arizona 28-yard line before Patrick Peterson's interception of Kirk Cousins' pass with 41 seconds left sealed the victory.
Johnson, who also scored on a 1-yard run, became the second player in NFL history to top 100 yards from scrimmage in the first 12 games of a season. Edgerrin James was the other.
Johnson carried the ball 18 times for 84 yards and caught nine passes for another 91.
Larry Fitzgerald caught 10 passes for 78 yards, moving past Cris Carter into third on the NFL career receptions list.
Cousins completed 21 of 37 passes for 271 yards and a touchdown. His 59-yard pass to DeSean Jackson on the first series of the second half set up his 1-yard touchdown sneak.
In the third quarter, Cousins was stripped of the ball by Calais Campbell, and Markus Golden returned the fumble 20 yards to set up Palmer's six-yard touchdown pass to Michael Floyd.
That gave Arizona a 17-13 lead. The Redskins came right back. Cousins threw to a wide-open Jamison Crowder on a 26-yard touchdown play to put Washington back on top, 20-17, with 1:06 left in the third quarter.
The Cardinals avoided what would have been the team's first three-game losing streak since coach Bruce Arians came to the desert four seasons ago.
Redskins center Spencer Long left the game early to be evaluated for a concussion and did not return, and the team was without standout tight end Jordan Reed, who has a shoulder injury.
Washington returns to NFC East play with a game at Philadelphia next Sunday.