Let $S$ be a sphere with origin at $(0,0,0)$.
Let $P$ be a point in $S$ surface, whose $y$ coordinate is a given $y_0$.
Let $(x_0, 0, z_0)$ be any point of the line from $(0,0,0)$ to the "shadow" of $P$ (projection of $P$ in the plane $y=0$).
How can I find $P$ ?

By spherical coordinates, exchanging y and z with respect to the usual convention in the following image
$$R=y_0 \cos \phi\implies\cos \phi=\frac{R}{y_0}\implies\sin \phi=\pm\sqrt{1-\cos \phi}$$
Note: the sign depends upon the sign of $y_0$
From $x_0$ and $z_0$ we can obtain
then we can calculate
therefore we can determine $P(x,y_0,z)$.