New Zealand declared at 313-5 in their second innings after Ross Taylor scored his 16th century, to set Pakistan a 369-run target in the second Test in Hamilton on Monday.
Taylor was not out 102 while Tom Latham made 80 on the fourth day.
The highest successful fourth-innings run chase on Seddon Park is 212-4 by Australia 16 years ago.
Pakistan will have about 10 minutes of batting before stumps.