I am not familiar with your particular rig, but motor homes in-general, all lights attached to the house portion of the rig are often sub-standard compared to the original chassis wiring. RV manufactures often use non-sealed crimped connections which are very susceptible to water and salt infiltration and also if not crimped correctly, will come apart or have intermittent contact.
I suggest you get under the rear of your rig and visually look for an unconnected hanging wire. If all appears to be okay, have your spouse or friend look at the marker lights while you gently shake the wires. If you get intermittent action, then you know where the trouble is.
ADDING: The comments added just below are also good tips, checking fuses, shorts, and ground wires. Ground wires are often green with an eyelet on the end, attached to the steel chassis frame with a screw. If it is rusty, it may need to be cleaned to work proper again. Once cleaned with steel wool, add a blob of grease to help protect it. I personally like to use clear silicone grease to seal and protect all such terminations. Anything crimped, I like to solder and use shrink tubing for best reliability. But most people don't get that particular.
For clarity, the upper tubular pieces pictured are crimped connections, the lower ones are eyelets, also crimped. The yellow, blue, and red colors determine the diameter wire to use it with.