On an 02 the gauge is run with a variable voltage signal from the ECM. The ECM reads the fuel level sensor though. I can't say it's not possible to rig the level sensor directly to the gauge but I find it very unlikely. I would think the fuel signal to the cluster is PWM which you won't be able to reproduce with the sensor. Get a meter on the signal and see what it reads for voltage and frequency.
Sent from my SCH-R970 using Tapatalk