Chandler Parsons scored 27 points and Patrick Beverley added 16 points with point guard Jeremy Lin out with a bruised chest muscle. Houston avoided a four-game sweep in the best-of-seven series.
The Rockets led in the fourth quarter of each of the last two games only to end up losing. And it almost happened again Monday.
Kevin Durant scored five quick points to cut the Rockets’ lead to two. James Harden missed two shots for Houston after that and the Thunder had a last chance.
Reggie Jackson missed a jump shot and Serge Ibaka grabbed the rebound, but missed a layup at the buzzer.
A stunned Ibaka fell to the court after the miss and covered his face with his hands.
Durant scored 38 points in Oklahoma City’s second game without injured All-Star guard Russell Westbrook.
The victory kept Houston from being swept in the playoffs for the first time since 1996. Game 5 is Wednesday in Oklahoma City.
Harden scored 15 points, but also had 10 turnovers. He had two chances to extend Houston’s lead with less than a minute left, but missed both of them, including shooting an air ball.
He picked up his fifth foul with about seven minutes remaining, sending him to the bench. A dunk by Jackson seconds later cut Houston’s lead to 98-94.
Jackson got the Thunder within 100-98 with a 3-pointer a couple of minutes later. His 3-point attempt on the next trip down the floor rattled in and out of the basket.
Houston scored four quick points to extend the lead to 104-98 before Harden returned to the game with about three minutes left.
Derek Fisher made a 3-pointer to cut Houston’s lead to 104-101 with less than three minutes remaining. It was reviewed a few seconds later and the points were taken away because replays showed the shot clock had expired.
Jackson finished with 18 points in his second start in place of Westbrook, and Kevin Martin added 16.
Houston got 17 points from Omer Asik and 13 from Carlos Delfino.
Oklahoma City’s DeAndre Liggins received a technical foul with :07 left in the third quarter for arguing the call on a jump ball. Delfino made the free throw, but Durant hit a jump shot at the buzzer to get the Thunder within 91-84 entering the fourth quarter.
The Rockets led by two points in the third quarter before a 3-point play by Harden. He took Jackson off the dribble for a jump shot and drew the foul — Jackson’s fourth — to send him to the bench and the crowd into a frenzy.
Durant was shaken up a few seconds later when he crashed into the scorer’s table chasing a loose ball. He remained on his back for a couple of minutes holding his right wrist before being helped to his feet. But he didn’t leave the game and seemed to be OK.
Harden’s three-point play was the start of a 12-2 Houston run capped by another three-point play — this one by Delfino — to extend the lead to 85-75 with about three minutes left in the third quarter.
Delfino dunked after stealing the ball from Martin, and Durant fouled him on the play.
Houston scored the first 10 points of the second half to erase a halftime deficit and take a 63-60 lead. Parsons had six points in that span.
The Rockets did a much better job of keeping the crowd involved in this one than they did in Game 3, when they trailed early by as many as 26 points. Houston rallied to take a lead in the fourth quarter of that game before losing 104-101.
Near the end of the first half Durant sailed into the crowd Superman-style to save the ball on a bad pass from Harden. He was able to get to his feet and stood in the crowd watching as Martin swished a 3 on the other end. He couldn’t figure out how to get out of the crowd for a few seconds before finally climbing out and back onto the court. But before he got back to the game Durant asked a woman in the first row who he crashed into if she was OK.
Houston led by five at the end of the first quarter and was up by three points early in the second before Oklahoma City scored 12 straight points, fueled by seven from Durant. The Rockets took a 43-34 lead about 6 1/2 minutes before halftime.
Delfino swiped the ball from Durant and swished a 3 with 17 seconds left in the first half to cut the Thunder’s lead to 60-53 at halftime.
The Rockets led 29-24 after one quarter thanks to 5-of-9 shooting from 3-point range on Monday after trailing by 20 points after one in Game 3.