Cut engine off while driving at low rpms, stop or idle on 2001 Honda Civic

I have an intermitten problem that shut off while I am driving at low rpms, at stop or idle but start right back up.

Asked by for the 2001 Honda Civic
could be a vac leak or a problem in th idle control-suggest a diagnosis for a proper repair