I normally don't recommend replacing electrical parts without making some tests to isolate the problem, but in this case I can't imagine much except the switch.
I assume that the hi beams stay on when you push the switch, and the lows just don't come on. If the hi beams go off but the lows don't come on, that could be the low-beam wiring from the switch.