I replaced all of our clearance lights a few months ago. The original lenses had gotten hard and were cracking. I also had a few lights that were not working and I was concerned about the wiring. I used exact replacements for our lights because they fit into a recess in the fiberglass cap shaped like the light. I had five amber front lights, five red rear lights, and one amber on each side in front of the rear tire. I was able to Google search using the model on the old lenses and found them online. They were only $1.41-2.41 each. I found them at RV & Auto Parts.
Phone: 760-651-4005
https://www.rvautoparts.com/Clearance_c_7982.html
Our original clearance lights were sealed around the base with white silicone. I used the same method but also sealed the small hole in the cap where the wires come through with silicone. After the lights are screwed down I went around the edges with a paper towel and wiped up the excess. None of the silicone is exposed.
After you cut the wires, you need to make sure they do not pull back inside the cap as they are difficult to fish out. I used a hemostat to hold the wires while i worked.
The lights that were not working had some corrosion on the blue wire butt connectors. I used the heat shrink style butt connectors to prevent this from happening again.
It's nice to have all the lights working now and I plan on going back and replacing the bulbs with an LED bulb.