Can one catch an infection or STD from spit in the eye?

No STD. Some viruses can be transmitted via body fluids. Std not know to be transmitted via sputum in the eye.