TB and MAF might need a good cleaning. ('04s are drive by wire right?)
Otherwise it might be the following (for starters, or your problem is further down the line):
Bad plug wires
Clogged injectors
Bad coils