Doesn't start and cut out

My friend has a 2000 Impala. When she driving it shut off then she has a hard time starting it. Nobody can tell her what it is. She changed the computer someone said it maybe the fuel pump. Any ideas.