New homeowner here...circuit breaker question
You probably have a bad connection at the light switch. If the wiring at the switch was pushed into the spring terminals on the back of the switch, replace with a new switch, but do not use the push in terminals. Make a hook at the end of the wires and use the screw terminals.( don't forget to turn off the breaker before you work on the switch.)
If you think you can, or if you think you can't, you're probably right.
ASE certified master auto tech, Retired.