A 54-year-old former NJ pharmaceutical executive used insider information to avoid $38 million in losses, authorities said.