A woman stabbed two people at Times Square in New York, killing one victim, before police shot the attacker.