Nobita Is a Dictator?!
Nobita uses Doraemon's Dictator Switch gadget to get rid of Gian and Suneo, which causes everyone to not remember them. While suffering from a nightmare, he accidentally causes everyone to disappear with the gadget, including Doraemon. While Nobita enjoys his time alone at first, he starts to miss everyone and weeps for them. Doraemon then arrives and reveals that he gave the gadget to teach him a lesson about the importance of people.
Aired 31/03/1995EP 1345 - Nobita Is a Dictator?!

Doraemon
Nobi Nobita is a 4th-grade boy in Tokyo. One day, a round, blue cat-style robot (minus ears) pops up in his desk drawer. Nobita's great-great-grandson (or something) lives in the 22nd Century, but thanks to Nobita's mistakes, the entire family is living in poverty. To rectify this, Nobita's descendent is sent Doraemon back to the past, to help prevent Nobita from making mistakes. Of course this is a difficult task since Nobita is the weakest and least intelligent child in his class. Doraemon does, however, have a 4-dimensional pocket on his front, which contains cool gadgets from the future. With these toys, Doraemon will try to help Nobita. Unfortunately, Nobita also has the bad habit of misusing Doraemon's gadgets and landing himself in yet more trouble?
(Source: AnimeNfo)