Joshua Brandon Pillault of Oxford was arrested on Oct. 8. The indictment was handed down Thursday.
Prosecutors say in documents filed in U.S. District Court that Pillault made threats against the school in a chat room conversation while playing an online game. The threats were reported by a fellow player in Virginia.
The court has ordered a psychiatric evaluation.