Leg-spinner Devendra Bishoo bamboozled Pakistan with 8-49 on Sunday in a dramatic second-innings collapse as West Indies came back hard in the first day-night Test.
Bishoo spun out Pakistan for 123 to curtail the West Indies target to 346.
West Indies lost both openers to Mohammad Amir and finished the fourth day on 95-2, needing 251 more runs on the last day.
Darren Bravo, who top-scored with 87 in West Indies’ first innings of 357, was unbeaten on 26 and Marlon Samuels not out on 4. Leon Johnson hit 47.
Pakistan had a 222-run lead from its massive first innings of 579-3 but captain Misbah-ul-Haq chose to look for quick runs and didn’t enforce the follow-on.
That looked a mistake as Bishoo tormented batsmen while pitching the pink ball into the rough and Pakistan lost the last seven wickets for just 30 runs in its 400th Test match.
Opener Sami Aslam top scored with 44 before Bishoo ignited the collapse by having the left-hander caught in the slips.
Earlier, leg-spinner Yasir Shah bagged 5-121 and became the joint second-fastest bowler to reach 100 wickets in 17 Test matches.
Shah claimed three of the last four wickets to fall after West Indies resumed its first innings on 315-6.