Heat shrink tubing, when heated, it shrinks to conform to the size and shape of the underlying material. This material can also be used to hold a group of wires together or offer sealing protection.
Heat shrink tubing might be your friend here, but for an electrically isolated and mechanically supported repair, you may want to give over-molding with a hot glue gun a try. The inspiration for ...