obd2 magnum swap?

It's been awhile but we are finally making some progress. I was looking at the wire harness and we are having issues with dad's dakota, the engine shuts off when the oil pressure gauge drops. So I was wondering does the ECM get a signal from oil pressure switch. If it does I need to "t" it for the aftermarket gauge we have.