I found the source of the problem.

One of the wires in the connector was never really soldered correctly and it was either touching or not. I re-soldered and tested the valve and it works now. I still did spray the wd-40 just in case.
I think this will solve the code 4 problem which I am hoping will solve the code 19 after I reset everything. Thank you all for your help and directions.