Idles fine then wants to die driving

Did you replace the fuel filter?