I would remove the window, clean the surfaces and reapply
butyl tape. Then add some
vinyl stick on gutters (comes in white too) over the top of the window. With the third brake light, I'd run a 1/4" bead of clear bathroom caulking on the top and each side. Or, around all 4 sides and drill a couple small holes in the bottom of the lens so any moisture could evaporate. That sort of caulking fix wouldn't really work for long on the big window because of the flexing an RV gets on the road.
It's important to dry out the wall where the leak was so a small floor heater positioned to heat that area would help.
I did write up an ad free blog article that might give some insight, about what I did with my leaks:
Weather Proofing...