What you want is a tangent line, a line that touches the sphere at exactly one point. Using the property that cross product operations produce a line that is orthogonal to the input vectors, you can get such a tangent line fairly easily for nearly all pairs of points.
First, I’m assuming your sphere is centered at (0, 0, 0). If not, you’ll need to subtract the sphere center from the positions so that they’re relative to the sphere, not in world space.
Then you can notice that the two positions on the surface of the sphere can also be thought of as vectors pointing from the center of the sphere to the point on the surface that they represent. These vectors are normal vectors, that is, they’re orthogonal to the surface of the sphere at those points. In other words, they point directly up from the surface. And the tangent lines will be orthogonal to these lines.
If you take the cross product of the first vector with the second vector, you’ll get a vector pointing off to the side, one that is exactly perpendicular to both the first vector and the second. Within the context of wanting to travel across the surface from the first point to the second, this resulting vector can be seen as always pointing exactly to the right at all points along the desired path.
With this right vector, you can now get the desired forward vector at any point along the path, including at the beginning and end, by taking the cross product of the right vector with the position.
You’ll want to normalize the first cross product (between the two positions), because the length of the resulting vector will be dependent on how far apart around the sphere the two positions are (technically, the length is the result of multiplying the length of the input vectors, both equal to 1, times the sine of the angle separating them). The other cross products don’t need this because the input vectors are guaranteed to be at right angles to each other (hence the sine is 1, and the input vectors are still both length 1).
var right = Vector3.Cross(position0, position1).normalized;
var forward0 = Vector3.Cross(right, position0);
var forward1 = Vector3.Cross(right, position1);
Note that this will fail of position0 and position1 are at exactly opposite ends of the sphere, or are equal to each other. In particular, the right vector will be the zero vector, and the attempt to normalize it should fail (can’t divide by the vector’s length, which is zero). In either of these cases, the correct forward directions are ambiguous anyway, so you’ll need to figure out some special case way of handling these situations. (The cases are easy to detect: The dot product between the two positions will be -1 or +1 for opposite or equal positions respectively.)
Final note: The order of the parameters to a cross product matter (but not a dot product). If you get the order backwards, the resulting vector will point in exactly the opposite direction. (So the first cross product could yield a left vector instead of right, the later cross products could produce back vectors instead of forward.) I’m pretty sure I got the orders right for Unity’s system (different systems do cross product one of two ways, which are opposite of each other), but just in case things don’t work correctly, the order of parameters is one of the first things to check.