As explained and written by you , there are 6 unknowns and 3 equations.
This system of equations cant be solved. So , x ,y, and z values should be defined before
as example:
eq1 = 335*cos(t2)*sin(t3)-77*sin(t2)-260*sin(t2)*sin(t4)+260*cos(t2)*cos(t3)*cos(t4)+85==x;
eq2 = 335*cos(t3)-260*sin(t3)*cos(t4)==y;
eq3 = -335*sin(t2)*sin(t3)-77*cos(t2)-260*cos(t2)*sin(t4)-260*sin(t2)*cos(t3)*cos(t4)==z;
[solt2,solt3,solt4]=solve(eq1,eq2,eq3,t2,t3,t4);