Tomatoes should be fine, but may contain too much acid for your dog’s gut.
Here’s a handy list of toxic foods for dogs:
http://www.risingwoods.org/OURFAMILY/THEDOGS/knowntoxicfoodsfordogs.htm