A judge on Tuesday rejected a plea agreement that would have allowed a Sanford minister charged with killing his wife to serve five years in prison.