An 18-year-old student from Frederick County was arrested after law enforcement officials were alerted of a shooting plot at a school.