Is a gasket and molding the same thing?

No. A gasket helps to secure the windshield to the coach and actually has structural properties. A molding, on the other hand, is a rubber piece that covers the edge of the glass like a piece of trim and helps keep contaminants out.