Volt guage looks fine
The fuel guage ???
Slide up under the car just near the right rear wheel and just in front of the fuel tank will be the fuel tank sender wiring clip into the main harness
Check that for broken wires ,maybe pull it apart blow it out a bit,check for any damage then put back together
The wire from the tank to this join can be tight and over time wires start to break
Hence why you have power sometimes then not other times
That would be the first place id look