A former Brooklyn prosecutor in the state attorney general's office accused Letitia James of wasting taxpayer dollars on a personal vendetta.