Things to check:
Which switch did they replace? There are 2 switches involved here. The first one, (on the drivers door armrest), you use to manually to raise and lower the window and the second switch is inside the door and connected to the door latch mechanism. This second switch is the one used to "sense" when the door is open or closed and drops the window that small amount when you open it, and closes it when the door is closed.
The dealer has checked the wiring in the door but there still may be an issue where the door harness plugs into the main harness under the dash.