A man accused of setting a woman on fire inside a New York City subway train and then watching her die after she was engulfed in flames made an initial court appearance Tuesday and will remain in custody.