IDK how it can be done with
Fermat's last Theorem, allow me to use
Catalan's conjecture instead.
Let me state this theorem (it's proven, but the name stayed like this anyway!),
Catalan's conjecture : If $x,y,m,n$ are positive integers where $m\geq2, n\geq2$, and they satisfies \[x^m-y^n=1\] then \((x,y,m,n)=(3,2,2,3)\).
Now solution to our problem :
Let's start with taking $\pmod{3}$,
$3^x+4^y=5^z$
$\Rightarrow 1\equiv(-1)^z\pmod{3}$
$\Rightarrow z=2c$ for some positive integer $c$.
Let's take $\pmod{4}$,
$(-1)^x\equiv1\pmod{4}$
$\Rightarrow x=2a$ for some positive integer $a$.
Let's manipulate the equation,
$2^{2y}=5^{2c}-3^{2a}$
Case 1 : $c=1$.
In this case, we get $4^y=25-9^a$ and the only solution is, $a=1, y=2$. Because when $a\geq2, 25-9^a<0$.
So, this case gives us the solution $(x,y,z)=(2,2,2)$.
Case 2 : $c\geq2$.
$2^{2y}=(5^c-3^a)(5^c+3^a)$
Let's assume,
$5^c-3^a=2^u\cdots\cdots\cdots(1)$
$5^c+3^a=2^v\cdots\cdots\cdots(2)$
Where $u,v$ are nonnegative integers, $v>u$ and $u+v=2y$.
Adding $(1)$ and $(2)$ gives,
$2\cdot5^c=2^u+2^v$
Since $v>u\geq0$, $v$ must be positive. So, $u\neq0$ since otherwise the left hand side would be even while the right hand side would be odd.
So, $u$ and $v$ both positive integers.
So, we have, $5^c=2^{u-1}(2^{v-u}+1)$
$\Rightarrow 2\nmid2^{u-1}(2^{v-u}+1)$
$\Rightarrow u=1, v>1$
Therefore, we have,
$5^c-2^{v-1}=1$
By Catalan's conjecture, this equation has no solution if $v-1\geq2$.
So, $v-1=1$
$\Rightarrow 5^c-2=1$
But since $c\geq2$, we must have $5^c-2\geq23$ which is a contradiction.
Therefore, there is no solution when $c\geq2$.
So, the only solution is $(x,y,z)=(2,2,2)$.