I replaced my OEM speedometer with an Autometer replacement and had to buy a new cable to accomodate a screw connection while the OEM used a clip on connection. I can offer it up to you'd like. Still works great.
Did you use your old housing with a new cable? Did the old cable break? If so you likely have metal flakes and pieces of wire in the housing, if you didn't flush it out and swab it out. When you insert the new cable into the housing just lubricate the bottom half of the cable, to keep the lube from migrating into the speedometer head. Use either liquid or paste graphite.
I used powder graphite..the old cable worked but was old and stiff and impossible to unplug from speedometer housing, since I am rebuilding the car I had the dash stripped out, this is a new one from Ohio mustang. Maybe it needs more lube and a reset….the old cable didn’t break, this is entirely new unit, housing and cable…