Measure the resistance between fuel level sensor harness connector terminal and chassis ground.
Connector & terminal
(R58) No. 5 — Chassis ground:
Is the resistance less than 10 Ω?
Inspect the fuel gauge.
Repair the wiring harness.