At least one of the lights(tail or head light) has a bad ground and is finding ground through the indicator light filaments. Best guess would be a bad ground at the rear of the truck. The bed not being grounded to the frame would cause the fuel gauge to be affected.