By crank shaft sensor are you referring to the one at the crankshaft??
You might check your cam sensor which is for engine firing order. They will also cause misfire if worn. This part should be Motorcraft only part. Dorman sensors are not good!!
Get a spray bottle of water and at dark try to spray around the electrical connections and plug wires. Any blue arcing will show you the way~~