Personally, wouldn't go aftermarket. I like OEM stuff and the OEM look. But, that's me.
You might be able to gently, partially crimp the connector and get it to grip the stud better.
I would also test your gauge setup. First, by momentarily grounding the connector straight to the engine block. The needle should peg to the high (hot) scale.