N.Y. man charged with failing to register as sex offender in Pa.