That is better.
What kind of lighted switch do you have? If it has only 2 leads and lights only when it is off, then that would be a problem. It is going to pass current through all the LEDs and they will all light dimly. If it has 3 leads and lights all the time, then it should work fine...