ECU driving me to drink

Had a ford last winter that ran like poo. I had replaced a leaking p/s pressure sensor. Took forever to wrap my head around a junk in the box part, unplugged it and it ran perfect. Six hours later. Dtc came up as 5 volt reference fault.
Sometimes the simplest things cause the most grief.