I have recurring prostatitis can it cause swollen lymph node in neck?

NO not at all. Swollen nodes in neck would have no connection with your prostatitisd. That is not possible as there is no connection between the prostate gland and the lymph nodes in the neck. Go get a doctor to check your neck and seek his/her advice.