Think about replacing that LED with a regular bulb. LED's draw so little current that you can get real strange errors in older slightly corroded automotive circuits that are designed for amps, not milliamps. Also check that you have the not hot wire from the dome light going to the correct terminal on your switch.

Mark