The switch body itself looks like this:
Now, if you look at the body carefully, you will notice that it also comes apart. There is a retention tab on either end of the switch. Gently pry these away from the body, and carefully separate the two halves of the switch:
There is a small rocker assembly in the portion of the switch on the left - this remains unchanged. Just be sure to keep the rocker properly placed on the fulcrum. If you invert the switch, it will fall right out, so be careful. On the right, you can see what we are after. Remove the white plastic roller assembly from the upper body, and put it aside. Inside the body, you will then see the incandescent bulb:
There are two wires that are set into wire guides - pry them out with a small screwdriver or suitable tool, then remove the bulb by carefully releasing it from the retention tabs. You will then have this:
Discard the bulb. Now, you will take the LED and resistor you purchased, and carefully solder them together, as seen in this picture:
This is the replacement assembly for the switch. The LED will fit back into the body just like the incandescent bulb. Be careful to keep the O-ring in place - it seals the bulb to the body, and keeps contaminants out of the switch. Then, route the two wires in exactly the same way the incandescent bulb wires were routed. The resistor just tucks into the body out of the way, and doesn't interfere with the switch at all. You'll wind up with something like this:
A word of caution - LEDs only allow current flow in one direction, so if you install the wires in the wrong direction, the LED will not illuminate, and you'll have to reverse the wires. I recommend that you simulate the install before tucking the wires in place, so you don't waste any time. Once the install is done, simply snap the two halves of the body back together, and then snap the actuator back onto the body. Now, you have a cool running, long lasting switch with indicator! Finished, it will look like this:
Now all you have to do is repeat this 20 or 30 more times, and your boat switches will be done.