The ejector fitting of an aspirated TAT probe normally connected to an aspirated aircraft’s pneumatic line to receive engine bleed air, this circulates air through the TAT probe even at low/no airspeed on ground and allows aspirated configurations to receive accurate temperature information on ground. As such a plug should not be installed for aspirated aircraft and instead the ejector fitting should be connected to the pneumatic line.
For non-aspirated aircraft there is no pneumatic line, so to protect the fitting a cap is installed. Whether the cap is present does not impact the function of the TAT probe, but does provide a seal blocking airflow from outside the aircraft. Boeing cannot provide guidance for AoGs in the future as circumstances will vary, but similar caps or seals to prevent airflow would provide similar function.