Believe it or not NJ has the Castle Doctrine, but also the obligation to retreat, if you can make sense of that.
But in practice, if you fire your weapon you will be charged and you will be required to prove in a court of law that your actions were justified.
Here is the law, which is...