Maryland sacked Purdue on the final play to seal a 34-29 victory and give interim coach Aazaar Abdul-Rahim his first win.