The correct option is A who used to be a teacher
A relative clause is one that describes the noun that precedes it in the main part of the sentence. Here the clause "who..teacher" describes the man. Hence Option B is correct. The rest of the options do not adhere to the goal, hence incorrect.