There are definitely similarities between LOTR and ROTN but that is because they are based on the same mythological sources. Tolkien denied that he copied any elements from Wagner, but both Tolkien and Wagner used the same sources.