Have Ford Questions? Ask a Mechanic for Answers ASAP
A Ticking on the driver side of the engine on the 4.0l model is usually the timing chain. It has nylon timing chain guides that tend to wear out and make a loud noise. I don't think it could be considered related to the detail if that is where the noise is coming from. Does the noise ever quiet down? Sometimes when the timing chain guides are worn it will get quieter as the engine warms up. Is there any way you could get a diagnostic trouble code pulled when the service engine soon light is on? If it comes up P0174 it is probably the timing guides. There is also an external timing chain tensioner which can be fairly easily replaced on the driver side of this engine if we can determine that the chain is the source of the noise.
As far as the electrical problem is concerned it could be any number of wet circuits depending on where the detail people got water. I would try to let it dry out for a few days and see if the electrical problems persists. They will likely go away on their own unless the water has already caused damage.
As far as the rattle goes, is it possible that they left something loose? I can't think of anything that could affect the way the car accelerates and would make a rattle on that model. I'm wondering if they are two separate problems. Have yo had anyone check the pulleys? Sometimes the idler/tensioner pulley will make a rattle noise that is worse at an idle. One thing is certain, it's not a suspension problem if the noise is present while not moving. (maybe that's little consolation, but it eliminates a lot of possibilities). Is there a restriction in the exhaust system? That can cause the exhaust pipes to vibrate and possibly rattle if the exhaust hangers are worn out.
Sorry, it's tough to diagnose a rattle from long distance. Any way you could take a short video of the engine running with the noise present?