A career change to teaching can work if you test the classroom before buying the credential.
The risk is mistaking liking kids, loving a subject, or wanting meaningful work for liking the daily mechanics of a classroom: attention, behavior, grading, parents, prep, school politics, and leading the room when you are tired.
Career changers may bring steadier communication, subject knowledge, parenting, management, training, or life perspective.
Certification does not remove the shock of managing a real room for a full week.
Watch the grade level and subject you actually want, preferably more than once.