Federal charges have been filed against an Alabama charter school teacher accused of selling drugs to a student.