Fuel sending unit is complex unit & mismatch may cause other issues.
Better buy new Fuel pump(Electronic one-Japanese)
Reasons for failing this is mainly due to less Fuel in the tank
It is recommended to always fill your Petrol Tank(at least HALF) & don't let it drop below half petrol Tank
@luckycar
Switch to HOBC shell & use carburetor cleaner within petrol Tank