Be careful when working on the gas gauge, fumes can linger in the tank for a long time. Do not use a vacuum cleaner for cleaning as it will suck fumes into a sparking armature.
Article attached may help.
https://www.santaanitaas.org/wp-content/uploads/2021/09/Gas-Gauge-Repair.pdf
Tom Endy