when i rebuilt my c10, i had to go through multiple gas sending units as they are made very cheap now. They just don't always work as they should. After 3 of them, i have a functional one. Somewhere on this site there's a good article on how to hook these up, as often it's a bad ground.
Do you have the correct wire harness? Are you using aftermarket gauges for the Temp? Only some had fairly reliable Temp gauges, it was just a dummy light or a needle that went from L to H. Best way to avoid the mess, is to get a mechanical temp gauge and put in mechanical sending unit into the engine head/block and as long as the Temp gauge works, (which you can test in a boiling pot of water before install, then you know it works). Then, you should be fine. you will just have to figure out where to mount the temp gauge in the cab of the truck. Under the dash is a good option. Some older/new Stewart warner green faces are nice look.