You can't say "Her job is a teacher" is because a teacher is a person who does teaching work. She is a teacher, not her job.
In that sentence, you would have to use an adjective to describe "her job."
In this case the adjective would be teaching, So the correct sentence is
"Her job is teaching." However It would be best to avoid using "her job" as the subject of the sentence.
You should better say: She is a teacher or she work as a teacher.