Gov. Andrew M. Cuomo joined in the praise, calling the officer “talented” and “brave.”

Officer Nash is a five-year veteran of the force, working day tours in the First Precinct in Lower Manhattan, according to a person familiar with the details of Tuesday’s attack. He was one of four officers responding to a call from Stuyvesant at 345 Chambers Street on Tuesday. Officer Nash and his partner, Officer John Hasiotis, had been summoned to help with a student who was in the nurse’s office and had indicated that he wanted to kill himself. Two other officers had been called as backup.

Outside, Mr. Saipov’s vehicular rampage was ending with a crash at Chambers Street and West Street, where he slammed his white rental truck into a yellow school bus and fled into the streets.

The four officers rushed out of the school, turning east toward the highway and confronting Mr. Saipov on the street. He had what appeared to be pistols in each hand and turned toward the officers as they approached. Officer Nash was the closest, and fired his department-issued gun.

When Mr. Saipov dropped to the pavement, a civilian — who had previously tried to tackle the suspect as he was getting out of the rented truck — approached the wounded man, who was still clutching the two weapons.