Homer's Barbershop Quartet - S5-E1
Character mistake: When Marge is making a model of Homer for Bart and Lisa, she makes him bald with his hair round the back of his head as we all know it, but at this point in the story Homer was not yet bald. (00:18:15)
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