Guess Who's Coming to Criticize Dinner - S11-E3
Other mistake: In the German version, the Italian cook peeved by Homer's comment on lasagna swings the cleaver at him using an Italian word ("Porcodio") which is a rather strong blasphemy, way stronger than any other expression used in original or in other localizations worldwide.
Answer: I'm not sure if this is the one you're thinking of, but an episode of "Ray Bradbury Theatre," called "A Sound of Thunder," dealt with a similar matter: a group of hunters travel back in time to hunt dinosaurs, only to find things have changed when they get back because someone stepped on a butterfly.
Xofer