Is " राज एक शिक्षक हैं। " a correct translation too?
Yes, if you're using the respectful plural form for राज.
But note that in almost all situations where we use the respectful form along with names in real life, we also add an honorific जी to the name. राज जी एक शिक्षक हैं।
Thanks for your clarification.