The 16-year-old spinner became the youngest bowler to take a five-wicket haul in ODIs as Afghanistan took an unassailable 3-1 lead.
In a must-win match for Zimbabwe for series alive.
Rashid Khan dismantled Zimbabwe as Afghanistan resumed command of the ODI series in Sharjah on Tuesday.
Sikandar Raza, Tendai Chatara and Graeme Cremer also starred as Afghanistan succumbed to a 154 run-defeat in the second ODI.
A dominant century from Rahmat Shah saw Afghanistan annihilate Zimbabwe by 154 runs in the first ODI of the five-match series in Sharjah.
Afghanistan beat Zimbabwe to take the two-match T20I series 2-0 in Sharjah; to go eighth in the ICC T20I Team Rankings.