MIAMI  A South Florida teenager who sued her former principal after she was suspended for creating a Facebook page criticizing a teacher can proceed with her lawsuit, a federal judge has ruled.

The student, Katherine Evans, is seeking to have her suspension expunged from her disciplinary record. School officials suspended her for three days, saying she had been “cyberbullying” the teacher, Sarah Phelps. Ms. Evans is also seeking a “nominal fee” for what she argues was a violation of her First Amendment rights, her lawyers said, and payment of her legal fees.

The former principal, Peter Bayer, who worked at the Pembroke Pines Charter High School, had asked that the case be dismissed. But Magistrate Judge Barry L. Garber denied Mr. Bayer’s petition and rejected his claims of qualified immunity.

Lawyers for Ms. Evans, 19, now a sophomore at the University of Florida, said that they were pleased by the ruling and that they hoped to bring the case to trial in the spring.