Sounds very technical. I used piece of thin metal wire and just wrapped the cable to remaining plastic part with it. Worked nicely, but mine wasn't totally broken, just enough to make cable pop out every time the cruise is turned off.
So here is the cable end. As you can see the plastic lip is broken off the lower right, I am sure this happened during my engine replacement.
I don't see why I would be able to just build up a little shelf with some high temp epoxy and if needed I can go back in and dremel out any excess and smooth it down.