My name is Yataro.

Literal

I [of-の] name [topic-は] Yataro is.

名前 is the usual word for 'name'; 名 (な) is a shorter, slightly more formal/literary variant — feels elevated, like 'my name' in English-novel formality. 弥太郎 is a traditional masculine given name — less common now, feels slightly old-fashioned or literary.