Pakistan 202 (Babar 75, Shakeel 63, Leach 4-98) and 198 for 4 (Shakeel 54*) need another 157 runs to beat England 281 (Duckett 63, Pope 60, Abrar 7-114) and 275 (Brook 108, Abrar 4-120)
Multan: England struck late to break a crucial Pakistan partnership on the third day of the second Test in Multan.
Imam-ul-Haq and Saud Shakeel added 108 for the fourth wicket and took the hosts past halfway in their pursuit of 355.
But Jack Leach, who struggled throughout the day, had Imam edge a drive to Joe Root at slip for 60.
Shakeel remains on 54, the match tantalisingly poised, with Pakistan 157 runs short of their target on 198-4.
That Pakistan are even in the hunt is down to a poor England collapse in the morning session.
Despite Harry Brook completing his second century in as many Tests, captain Ben Stokes' dismissal sparked a capitulation of five wickets for 19 runs that left England 275 all out.
Abdullah Shafique and Mohammad Rizwan added 66 for the first wicket, only for James Anderson, Ollie Robinson and Mark Wood to produce a trio of magic deliveries to send Pakistan to 83-3.
Imam and Shakeel dug in, leaving England in a battle for the victory that would seal a series win.