A New York City man accused of setting a 73-year-old woman on fire in an elevator has been charged with murder.