I learned that Animaniacs did the "That's good/That's bad" exchange a few years after Homer and the creepy Shopkeeper did it, and one year later, Pokemon 2000 used the joke again with Team Rocket doing it.
So basically... Simpsons did it first, and then the two shows afterwards stole the jokes, or probably not.