NJ inspection now consists solely of checking emissions via the OBD II connector, but–as you surmised–a lit-up CEL automatically means that you have failed inspection.
So, to summarize for the OP, a visit to your nearest Autozone, Advance Auto, O’Reilly, or (possibly) NAPA will allow you to learn–and report to us–the trouble codes that have been stored. And, as long as the CEL isn’t blinking, the car should be “safe” to drive, but–of course–that does not guarantee that you will be able to complete the trip w/o a mechanical breakdown, so resolving the problem before your trip–with a different mechanic–is recommended.
This situation causes me to wonder about the car’s maintenance, because poor/lax maintenance can be the cause of some/many CEL situations. What can the OP tell us–specifically–about the car’s maintenance? Please don’t give us generalities such as, “the car has been well-maintained”. We need to know exactly what maintenance your car has had over the past 30k miles.*