Joe, where did you get your solenoid valve? The one I bought only 10 months ago is now leaking diesel into the main tank. The one I got is a selector valve, not really a solenoid valve, and I plumbed it so it would flow diesel with the switch on. It worked great for many tankfuls, but as I say, is now leaking.
Now to answer mfundeburgh's question. I plumbed a selector valve, a diesel-rated pump, and a Napa diesel fuel filter/water separator all inline. I put everything under the bed of the truck on the driver's side. I got two sections of 3/8 brake line and had them welded into my filler neck, one for the fuel to go in, and one for the air to go back to the tank, so the tank would not pull dirty air or try to collapse under the vacuum pressure of the fuel being pumped out. It works great. Aside from my ATS Trans. , it is the best thing I ever did to my truck.