Pakistan set Kiwis 263 to win fourth ODI