En lärare i trettioårsåldern greps efter att ha svingat en bedövande pistol och gjort dödshot vid en skolport i Gyeongsangbuk-do.