I am a former teacher and I know people who have gone through the same thing.
Get on the internet and look up the qualifications for getting certified in all 50 states. Some states, like yours, are inflexible and rigid. Others (like Montana) are quite flexible and not nearly as bureaucratic.
States vary WIDELY and there is no logic to it. For example, I have 10 years experience and a Master's degree in South Carolina. When I was originally certified way back in 1989, I got an endorsement to teach English and Social Studies in grades 6-12. However, a couple of years ago, South Carolina created a separate "Middle School Certification" for grades 5-8 and said that the Secondary School Certification would now only cover grades 9-12. If you wanted to teach Middle School, (even if you had 10 years experience and had been teaching Middle School for 5 years already) you had to take the Praxis Exam and score at least 165 on it to maintain your Middle School Certification. (A score of 165, by the way, is the SECOND HIGHEST score required by any state in the nation. Only Ohio requires a higher score.) Anyway, I took the Praxis test twice and scored 163 the first time and 161 the second time. So I lost my teaching job at the Middle School. (I was teaching 8th grade English.)
Now if I had had a job teaching 9th grade English or above, I would have been able to keep it, because I am still certified at grades 9-12. If I were teaching in neighboring North Carolina or Georgia, I would have been able to continue teaching 8th grade because they don't require a score that high. Heck, if I wanted to teach Middle School in New York or California I would qualify, but not here in my home state. Isn't bureaucracy wonderful? And people wonder why so many teachers leave the teaching profession. LOL
However, don't despair. Things will work out. You are in my prayers.