engine stops running while driving,IP lights go crazy just before engine dies on 1998 GMC Sonoma

when restarted it may drive 3 to 10 days before it happens again. I have already replaced fuel pump and mechanics can't find problem because it never happens when they have it.(intermittent problem)

Asked by for the 1998 GMC Sonoma