It could be many things. Guessing at a fuel pump and filter is not a good idea. Testing the vehicle for the cause of your concern is. A trained technician with good diagnostic tools and a shop manual are a must.
RepairPal Certified shops can diagnose and repair your 1999 Pontiac Grand Prix. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.