The 41-year-old man went to the Lower Paxton police department and confessed to the stabbing, court documents said.