I recommend taking the old one out so you can see what type of connection is being made. Is it a pigtail with a plug, is it direct wired, etc. Then, you can take that old one to a Napa or auto or farm/truck/trailer store to match up a replacement. Best case is finding a new one that plugs right in. Sometimes, you just have to get what you can find, even if it is different, and wire in a new pigtail. Tip: mix up some soapy water in a spray bottle and squirt down where the edge of the light and the grommet touch. It'll help get the old light out. Once the new grommet is in, spray down the grommet just before inserting the new light and it'll go in much easier. Good luck.
Here is a good video...
https://youtu.be/Bmapxhdrza8