Very first thing I'd do is trace the brown wire from ignition switch, start to finish.
Could be a bad ignition switch
Could be a bad connection AT the switch connector
Could be a bad connection at the bulkhead connector
As hacked up as that wiring is, someone may have done something "amiss."