After captain Misbah ul Haq became just the sixth batsman in Test history to be left stranded on 99 not out as Pakistan were dismissed for 407 in their first innings, the hosts, trailing by 121 runs, were reduced to 93 for four at stumps with Shah taking all four wickets.
They go into the final day needing another 28 runs to erase the first innings deficit with the pair of nightwatchman, Devendra Bishoo and debutant Vishaul Singh, expected to be under immense pressure, especially from the rampant leg-spinner, when play gets underway on a wearing pitch on the final morning.
Shah struck with his very first delivery, bowling Kraigg Brathwaite with a ball that skidded through on the opening batsman.