How should I connect a braided shield 2-core cable with a headphone plug with three cores
I'll assume your jack is a stereo one, like on this picture:



Cable shield goes to ground (see pic) and left/right signal wires go to the two smaller lugs.