Candidate for district attorney fights to get back on ballot