My alarm goes off if I lock the Beetle.

My burglar alarm goes off when I lock the Beetle. It either goes off within a few minutes or later - hours later. The only way it won't go off is if I leave the driver's door unlocked and lock the passenger door from the inside. I believe it is the micro switch in the passenger door. Ever since the window broke and was replaced I've had the issue. I need to know what to order and how to replace it.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0