Kenmore elite 110.31632610 Code P5

After replacing the lid lock switch and the drain pump getting a p5 error. Have to unplug it and plug it back in and several minutes later we'll start a cycle and randomly throw the code

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

crwdns2934109:0crwdne2934109:0

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