Glad you got it fixed.
However, I can't think of a magic fuse in the cab of your jeep that would cause brake lights
and tail lights
to stop working on your RV, while side marker lights
One thing I would do is get them to show you where this fuse is, pull it out and see if this really puts your trailer back into the same trouble.If it does then get a few spare fuses because you will most likely need to replace it again. Fuses usually don't just fail, somewhere you most likely have a short in the wiring and it can be a real hard thing to find. Might only short out when the RV is bumped or twisted just the right way. If the short is gone when you take it into the shop they won't be able to find it. If this was my trailer I would get a meter and test out the wiring right now while it is fixed. Then when it fails again (and it will) retest your wiring again. Even if you can't fix it yourself, when you take it in, they will have a starting point to work from.