BB guns are not illegal in New Jersey, but they are considered firearms, the same as actual firearms. This means that any rules governing real guns also govern BB guns.
Again, they are not illegal, but are just regulated in the same way as a real firearm.