No specific statute covers transferring a firearm to an out-of-state FFL - so the only applicable statutes are the ones regarding possession of the firearm, and it's transportation to the facility that will then ship it to the FFL in question.
If we're talking a long gun, then as long as the current owner has an FID card, there's no issue with boxing it up, and transporting it (unloaded of course) to any shipping facility. UPS/FedEx or Post Office are all valid means of shipping to an FFL. The only cite I can give you here is 2C:39-5c, which says it's unlawful to possess a rifle or shotgun unless one first obtains an NJ FID card.
If we're talking a handgun, then there is actually no legal way to transport it to FedEx or UPS (as you can't send a handgun via USPS without possessing an FFL). And, there's no legal way to transport it to a local FFL "for the purposes of transferring it to another FFL". To comply with the provisions of 2C:39-6f, one would either need to transport it to an FFL for the purposes of repair - and THEN while there, decide to transfer it to another FFL. Or, if said FFL also has a range on-prem, transport it there for the purposes of target shooting, and THEN after shooting it, decide to send it to another FFL.
You could also send it to the receiving FFL directly, and issue a FedEx or UPS call tag to have it picked up from your residence, thereby avoiding the transportation problem altogether.