The principal of the Virginia elementary school where a 6-year-old boy allegedly shot and injured a teacher is no longer in that role, according to the school district. 

Michelle Price, a spokeswoman for Newport News Public Schools, said Monday that Karen Lynch was named administrator of the school and would take over some of the principal’s duties. Ms. Price said parents of students were informed of the change at a town hall two weeks ago. 

The former principal, Briana Foster Newton, is still employed by the school district but not at Richneck Elementary School in Newport News, Va., where the shooting took place, Ms. Price said. A reason for her reassignment and her new role wasn’t given. 

Authorities said the boy took a handgun from his home on Jan. 6 and brought it to the school in his backpack, intentionally shooting his first-grade teacher, Abigail Zwerner, 25. The bullet went through her hand and into her upper chest, police said. 

The family of the 6-year-old boy has said their son has an acute disability and was on a care plan where his mother and father would accompany him to class daily. The family said the week of the shooting was the first time they weren’t in class with him. The student and his family haven’t been publicly identified.

A lawyer representing Ms. Zwerner said school administrators were warned on three separate occasions that a 6-year-old student had a gun or was threatening people before he allegedly shot the teacher. 

Ebony Parker, an assistant principal at Richneck Elementary, resigned last week, Ms. Price said. Also last week, the Newport News school board approved a separation agreement with Superintendent George Parker III, starting Feb. 1.  

On Monday, Richneck Elementary students returned to school for the first time since the shooting. 

Ms. Price said metal detectors were added and students were given clear backpacks and encouraged to use them.  

Write to Joseph Pisani at joseph.pisani@wsj.com