Rizwan and Irfan both suffered hamstring injuries in the third match in Rawalpindi, where a second-string New Zealand side won by seven wickets to level the five-match series 1-1
"We had a number of strong applicants from New Zealand and abroad but overall we felt that Craig was the best fit for the role," NZC head of cricket Lindsay Crocker said in a statement.
Capped 55 times, the 37-year-old former all-rounder had worked as batting coach for Canterbury, juggling the role with his commentary career.
New Zealand will leave for West Indies later this month to play three Tests and two Twenty20 Internationals after which NZC are expected to name a full-time batting coach.