Theirs plenty of online schools that you can take courses. To earn your degree for teaching though you have to complete student teaching. I would recommend enrolling in a local college and just take all the online classes offered for a teaching degree. Some of the work is hands on and accredited Colleges/Universities require some of the courses to be delivered in the classroom.
I know with work and a family it can be very hard to arrange time to actually take courses in the classroom, but in the long run it would pay off. You may be able to take the majority of the basic curriculum online, however be careful if you go with an online college, many of the classes offered from online colleges will NOT transfer to accredited institutions.
Not trying to knock the profession of teaching, but if you want to become a teacher, get your Masters degree and teach at a College or University. It's much more rewarding.
Just my two cents.
Also, you may qualify for financial aid that will help you pay for college. Many of us, like me, still have to work through college to make ends meet. Degree wise, you would just need to enroll as an education major and they would provide you with the requirements for a specialization in history.