Can I get toxoplasmosis if I ate some cheese that was touching ham contaminated with toxoplasmosis? I only ate the cheese. I am pregant.

Unlikely. But possible. You should be tested for antibodies to toxoplasma since many people have previously acquired this infection without being aware of the fact if your ob/gyn doctor has not tested you previously ask them to do so, or if necessary see an infectious diseases expert.