It isn't correct because of the word order. This is a question, so: "are you a lawyer?". If you say in Hungarian "Ön ügyvéd." (declarative sentence), in case your translation will be correct.
In Hungarian the difference between the two grammatical mode (declarative and interrogative) determined by the intonation of the sentence in live speech - contrary to the English, which indicates this by the word order.