Japan actually stopped doing games for the NES (Famicom) in fall 2003, and they stopped actually still peddling left overs and doing repairs in 2007.
I thought that Adventure Island IV released in 1994 was the last game made for the Famicom. Famicoms may have still been produced until 2003, but no games were.