The man threatened to blow up a school and kill 400 people, most of them children, according to a federal indictment.