Treehouse of Horror XVIII - S19-E5
Continuity mistake: When Marge puts the logo Hugh Laurie in the microwave, he splatters in the corner. Next shot the splatter is in the middle of the microwave. (00:01:00)
Treehouse of Horror XVIII - S19-E5
Factual error: In the Mr. And Mrs. Simpson segment Homer is firing a minigun at Marge and three of the barrels are seen spitting fire. A minigun however only uses one barrel at a time to fire.
Treehouse of Horror XVIII - S19-E5
Continuity mistake: When Marge shoots Chief Wiggum, the arrow goes through his tie. When they roll on top of him, the arrow isn't through the tie anymore.
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