Lisa on Ice - S6-E8
Other mistake: As Homer is signing Bart's academic alert form just before Marge starts talking to Lisa you can read the writing below the "Academic Alert" title, but the writing is completely incoherent including sentences such as "IMAEGTSIAD TSNHOJI NAMREB". Update; some of the "words" or parts of them are people's names, such as David, Stuart and Allison, but backwards. (00:03:50)
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