Yes, legally-licensed New Jersey gambling sites are safe. These sites provide the latest SSL encryption and other security measures to protect players. All games are verified fair and random by the NJ Division of Gaming Enforcement as well.
Offshore sites, on the other hand, are not licensed and are therefore unsafe. These sites are notorious for refusing winnings and selling user data. Avoid them and play at legally-licensed New Jersey gambling sites instead.