I'd say it's the sending unit. I'm not sure where it is located on the F150. I had one go out on my '88 Ranger and I had to drop the tank to replace it. If yours is in there too it would be a good opportunity to replace the fuel pump and in-tank filter as well. It's only a matter of time before they go too.
2008 F-150 FX4, Crew Cab, Short Bed, 4x4, 5.4L V8, auto trans, 3.55 gears, auto hubs, 32x10.50 tires, 20" wheels, 98 miles.