N.J. hospital agrees to pay $3.85M to settle charges