If this LED came from the fixture over the propane
tanks on the front of a Casita, it is probably still good. With the cover off the fixture, spray a little WD-40 on the switch and operate it a few times. That switch apparently gets water in it and doesn't swap sometimes. You can also pull a bulb or LED out of another light
in the camper and see if it works there.