The man accused of setting off bombs in New Jersey and New York has appeared before a Manhattan judge on federal terrorism charges.