ANSWER:
Only in the case that the rays are opposite.
Explanation:
We have that a ray is part of a line that has an end point and continues infinitely in a single direction.
Therefore, a pair of opposite rays are two rays that have the same end point and extend in opposite directions. So together a pair of opposing rays always form a straight line.
Graphically a ray and a line are like this: