Head light switch. Over time the insides get corroded. It can be taken apart after you get it out of the dash, cleaned and greased (for ease of movement) or just replaced.
'87 YJ, 4.2L built and bored, 8.5" of lift, 8.8 rear, AX15/NP 231, Tom Woods drive shafts, Flat fenders, 12,000LB winch, Custom bumpers, Rattle can paint job. Never completed...