There's No Disgrace Like Home - S1-E4
Other mistake: When Homer is at Moe's, there is a boxing match happening on TV. There is a bald guy who is getting considerably battered by the opponent and gets knocked out, and then for some absurd reason he is victoriously standing and smiling as if he had won.
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