The best way to see if your home-brewed game is really D&D is to publish it as a new game.

The WoTC lawyers will very quickly see to it that you know if it is D&D or not.