Hello, my name is ***** ***** I am a professional here at Just Answer. I have noticed that your question was not getting a response and thought I would see if you still need help with this.I apologize for the delay and I hope I can still assist you with this here.
The problem you are describing can be caused by any of the following,
Defective Constant Control Relay Module (CCRM)
Constant Control Relay Module (CCRM) Circuit
Constant Control Relay Module (CCRM) Connector
Defective Powertrain Control Module (PCM)
Vehicle Reference Voltage (VREF) Circuit
Vehicle Reference Voltage (VREF) Sensor
In order to determine which has failed you are going to need to do some testing starting with making sure you install all your grounds when you reinstalled the engine
. If they check okay then run the steps in the link below, copy and paste the link to your browser to open and view it.