I bought a 3/8 sending unit. Wrong Unit?

Yeah, you can squeeze 5/16 line on the 3/8 barb. It'll be tight, but you can do it. Put some vasoline on the barb and it'll go.