Voltage problems, cutting out when hot

Splice these two together or do away with the black wire from the switch altogether?
image.jpg