What modifications are done to the vehicle? This is very important on helping determine what could be wrong.
Some of the sensors and other things to check to check are :
1. Air Charge Temp Sending Unit (click on the text to vist the link)
2. Mass Air Meter. It could be dirty or if you have installed a cold air intake make sure all connections are the piping are good.
3. Throttle Position Sensor
4. Other things include: Coil packs, spark plugs, injectors
These are just a few things to check from my own experience with mod Mustangs. I hope this helps you out.