Step 1: Plan:
Build the neutral atom from the ion by returning the three electrons, then write its full configuration and count.
Step 2: Rebuild the neutral atom:
Start from $\mathrm{M^{3+}} = [\mathrm{Ar}]3d^4$. A transition metal loses $4s$ electrons before $3d$ electrons, so to undo this we first put back one $3d$ electron and then two $4s$ electrons.
$[\mathrm{Ar}]3d^4 \;\rightarrow\; [\mathrm{Ar}]3d^5 \;\rightarrow\; [\mathrm{Ar}]3d^5 4s^2$
Step 3: Count:
$Z = 18 + 5 + 2 = 25$. The atom is manganese, and $\mathrm{Mn^{3+}}$ is indeed $[\mathrm{Ar}]3d^4$.
Step 4: Rule out the rest:
Iron ($Z=26$) gives $\mathrm{Fe^{3+}} = [\mathrm{Ar}]3d^5$. Titanium ($Z=22$) gives $\mathrm{Ti^{3+}} = [\mathrm{Ar}]3d^1$. Potassium ($Z=19$) is an s-block metal that forms only $\mathrm{K^+}$, so it cannot be the answer.
Final Answer:
The neutral atom has 25 electrons, so the atomic number is 25 (option A).
\[ \boxed{25} \]