Find yourself a safe clear space going downhill, then switch off the engine and freewheel down. See if it stops. Take care if you have power steering of course.
Have you got a low level fuel warning light and the two wires to connect to a sender with the two terminals if so best option buy a new sender then all works as it should
Black wil be earth
Have you read these
https://www.landyzone.co.uk/search/7211712/?q=Hazard+wiring&t=post&c%5Bchild_nodes%5D=1&c%5Bnodes%5D%5B0%5D=6&o=relevance