I don't know if it will work for you, but when I break a throttle cable, I don't buy a new one, I just get one of those and a bicycle brake cable. If you can get the pictured end hooked up, chances are you can finish the install with a bike cable. FWIW brake cables are thicker than shifter cables.
Oh I see and end like this and a bike cable, the bike cables have something on the end of them to prevent them from slipping through the throttle pedal also?