New York City recorded its warmest midnight temperature on record early Friday, as a historic July 4 holiday heat wave broils the Northeast and Mid-Atlantic with life-threatening conditions.