You need to look at all the wiring especially around the headstock were there is a lot of movement of the cables. Another good one is under the seat as they can get pinched/squashed. Also check the earthing point(s) and make sure furring or rust is giving a bad connection.