with weird or random electrical problems the first place to start is battery connections and then grounds. Check cables that they are not rotted internally