Use a multi meter or test light and find what part of the fog light relay gets energized to alow them to come on. Which should be the low beam signal (use your multi meter to find that as well). Just conect that part of the relay to a sorce that is hot when the truck is on and off when the truck is off.