Hello, are you meaning the cargo area / third row seating vent window? If so, are you certain you are using the switch properly to close it?
If the rear cargo area window will not close you may have an actuator problem. Hands on testing is needed.
RepairPal Certified shops can diagnose and repair your 1999 Ford Expedition. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.