HEad light switch and wires

maybe the brown is really the tan wire you mentioned.... switch heats up when i plug it in.. maybe there is a bad ground someplace... i'll start hunting that route.