NEW ORLEANS — Herbert Jones scored a career-high 35 points and the New Orleans Pelicans overcame a 19-point deficit to beat the Memphis Grizzlies 138-131 in overtime Wednesday night and clinch a play-in spot.

Jones’ fast-break dunk capped a decisive 10-0 run to open the extra period. The surge started with a pair of 3s by Trey Murphy III, who hit seven 3s in the game and finished with 30 points.

The Pelicans combined to hit 21 3s, including five by Jones, who is known more as a defender than a scorer and was left wide open on several of his perimeter baskets.

CJ McCullum hit six from deep and finished with 31 points and 10 rebounds for New Orleans, while Brandon Ingram overcame a slow start and hit a slew of clutch shots to wind up with 24 points and 13 rebounds.

The victory guarantees the Pelicans at least a top- 10 finish in the Western Conference, good enough to get into the play-in. The question is what seeding they’ll have after their final two games.

Jaren Jackson Jr. had 40 points, nine rebounds and four blocks for Memphis, which led for most of regulation despite resting Ja Morant (left hip), Luke Kennard (right ankle) and Xavier Tillman (right ankle).

Despite those absences, Memphis surged in front by 19 late in the second quarter when Brooks hit a 10-foot turnaround fade to make it 69-50.

The Grizzlies led for most of regulation and were up 101-89 in the fourth quarter when the Pelicans stunningly turned the game on its head with a 22-6 run during which they made seven 3s — four by Murphy. That put New Orleans in front 111-107 and had the crowd roaring and out of their seats as Memphis coach Taylor Jenkins called timeout.

Ingram, who scored 10 in the last 3:39 of regulation, hit a 16-foot, pull-up jumper in the face of tight defense from Dillon Brooks to make it 123-118 with 14.3 seconds left, and Trey Murphy III made it 124-118 when he hit one of two free throws with 11 seconds to go.

Memphis then remarkably forced overtime with a 6-0 run in the last five seconds, starting with Brooks’ corner 3 as he was fouled by Jones.

Brooks missed the free throw, apparently on purpose in hopes of his team getting a rebound, but New Orleans got it and called timeout, only to turn the ball over on an offensive foul during and inbound.

New Orleans then fouled Desmond Bane on the dribble with 2.6 seconds left, and he hit one free throw before purposely missing the second. Jaren Jackson rebounded and was fouled as he tried to put the ball back up with 0.4 on the clock. Jackson hit two free throws to tie it at 124.