Facing a national teacher shortage — and struggling to fill vacancies in critical subjects such as special education, English language instruction, and science, technology, engineering and math — more districts are turning to professionals who decided to make education a second career.