I would use 4" wide Eternabond tape around the roof edges, clear down onto the gutter rail. In fact I did, over 10 years ago and it's still going strong. The stuff squeezing out from the windows, just trim off the excess, and run a bead of Proflex or equivalent (NOT silicone) across the top and down both sides. JMHO
2015 Ram 1500
2022 Grand Design Imagine XLS 22RBE