Many states have programs designed to recruit mid-career professionals into the teaching profession. I know this because in April of this year, my wife quizzed me on when I'd be pursuing my dream of teaching. Well, I did a little research, made a few calls, took a subject-matter proficiency test, quit my job, and began teaching in August.
If your degree and background are in Math or Science, you'll have plenty of options.