A Queens mystery meat public-school teacher — fired for warning his fifth graders to “quiet down or someone will come in and shoot us” and showing up late or skipping school 76 times in two years — is suing for his job back.

Gerard B. Telfer, 56, of Rego Park, whines in his self-filed lawsuit against the Department of Education that termination was an “extremely excessive” punishment.

He had already moved to a substitute role in 2011 for using profanity, DOE records state.

At PS 101 in Flushing in January 2014, he told students to “put your f–king hands down” before warning, “If you guys do not quiet down then someone will come in and shoot us,” according to departmental charges.