If you want to install Node it's best to use a utility that allows you to run specific Node versions. The most straightforward one is called "n".

npm install -g n
n stable

Override the node installed by brew using:

n stable

Uninstall the version of node you installed with brew so that only the n version remains:

brew uninstall node