The charges stemmed from separate, repeated sexual encounters with a 14-year-old boy and a 16-year-old boy.
Prosecutors said the 31-year-old math teacher had intercourse with the 14-year-old on three occasions between Oct. 2006 and May 2007, according to CNN.
The relationship with the 16-year-old student began when he was 15 and ended after Ragusa's arrest in April 2008 when she was leaving the teen's home.
Both teens were students at Tampa's Davidsen Middle School, where Ragusa used to teach math. She and the younger boy met when Ragusa broke her foot and he was assigned to help her get around the school.
Ragusa, 31, avoided a series of trials Monday by pleading to three counts of lewd and lascivious battery and two counts of unlawful sex with a minor.
Ragusa won a guarantee that she wouldn't receive more than 10 years in prison and would only face up to 10 years of probation.