An 18-year-old who planned to confront students at Belleville East High School in Illinois has been charged.