An indictment or even a criminal conviction could not prevent Mr Trump from continuing his presidential campaign. In fact, there is nothing in US law that prevents a candidate who is found guilty of a crime from campaigning for, and serving as, president - even from prison.
Source = www.bbc.com/news