Air France has agreed to replace within days sensors on all of its Airbus A330 and A340 airplanes, parts that are suspected of being involved in last week’s crash, a pilots’ union said Tuesday. Air France said Saturday that it had begun replacing the sensors throughout its fleet in April.