I may be pregnant and I spread a tomatoe from a friend's vegetable garden on my bread without cleaning it. Could I have toxoplasmosis?

If the tomato was . Harvested from the plant and hasn't been on the ground, the risk of toxo is quite low. The source would be from contaminated soil from cat droppings.
See below. That would be very unlikely as the cyst of toxo need to go through a life cycle first through a cat, but you should be tested for toxo since you are concerned.