Expelled student charged in school shooting