This is an easy problem with many solutions. We rewrite
4x4+y4−z2+4xyz=(4x4+y4+4x2y2)−(4x2y2+z2−4xyz)=(2x2+y2)2−(2xy−z)2=(2x2+y2−2xy+z)(2x2+y2+2xy−z)
The two factors A=2x2+y2−2xy+z and B=2x2+y2+2xy−z add up to A+B=4x2+2y2. If we choose the values of x and y so that A=4x2=4⋅52n+2 and B=2y2=2⋅22n, then the product will become AB=2⋅102n+2 and the sum of the digits will equal 2.
Summarizing, we pick an integer n≥1 and set x=5n+1 and y=2n. The desired equation A=4x2 is equivalent to 2x2+y2−2xy+z=4x2, and hence
z=2x2+2xy−y2=2⋅52n+2+10n+1−4n.
Note that z indeed is a positive integer. As the described choice of x,y,z then yields
4x4+y4−z2+4xyz=2⋅102n+2,
the proof is complete.