I am having the same light switch problem.
The switch jambs against the door when it closes, holding it open.
We replaced with new switch-same problem.
It sounds as though your door may need to be raised a little to correct this issue. This can be done by adding hinge washers 240311303 under the door on the hinge. You may need to use 2 or 3 to get the door in the proper position.
What is the difference in these parts; AP3562983 and AP2116563?
Answer Carol, part number 240505801 is the light switch for the refrigerator section and part number 241547901 is the light switch for the freezer section. Thanks!