example photo of 2015+ F150 FOG LIGHT RESISTOR hung away from wires/plastic.

You can also mount the resistor directly to the metal frame of the truck. The resistor will produce heat, so do not touch while hot or allow plastic or wire to touch while hot.