Yes correct! If you want to refer to "he" being a teacher, besides doing/being something else, you need to invert the verb and subject and say "Ook is hij (een) docent". The second version that you wrote, "Ook hij is een docent", you use to express that "hij", just like someone else you probably just mentioned in the conversation, is a teacher.