To switch from speed-density to MAF would require a significant modification, involving:
* Replacing the intake system: You'll need a new intake manifold designed for a MAF sensor. The stock speed-density intake won't work.
* Installing a Mass Airflow Sensor (MAF) and housing: This is the core component of the MAF system. The sensor must be appropriately sized for your engine's airflow requirements.
* New computer (ECU): The existing ECU is programmed for speed-density and won't be compatible with a MAF system. You'll need a reprogrammed ECU or an aftermarket standalone ECU that supports MAF.
* Wiring harness modifications: You'll need to wire the MAF sensor to the ECU and potentially make other adjustments to the existing wiring.
* Calibration/Tuning: Even with the correct hardware, you'll need to have the ECU calibrated (tuned) to properly utilize the MAF sensor data. This often requires a professional tuner and a dyno.
In short, it's a major undertaking, far beyond a simple conversion. It's essentially a complete engine management system upgrade. The cost and effort involved would likely exceed the potential benefits for a stock 1987 Mustang 5.0. Consider whether the potential gains justify the expense and complexity. It's far easier to optimize the existing speed-density system before considering such a significant change.