Yes, you need the correct wiring harness. Another thing to consider is the firing order might be different but that obstacle can be overcome.
Here is a great site with nearly all the info you will ever need. Ford Fuel Injection.com
'95 Ranger 5.0 GT40X Tri-y GT40 Intake S-Trim Snow Stage 2 Lowered Baer Racing Brakes Viper Spec Tremec w/Hurst shifter Custom Interior Dakota Digital Dash Corbeau Toplines OZ Racing AM/FM/Mp3/CD/DVD/TV.
2014 GTIG 5.0 Vert Base. Sil Carb Fiber dash. Bama Race Tune. Gibson axle backs. STEEDA Springs KONI STR.T Adj. Panhard. Dynamatted. Audiocontrol LC8i Amps and Sub! Leather OEM seats. Custom Badging.