I think the throttle position sensor is not operating properly too. But I have questions. You said the cat was rattling. Does that mean it was rattling inside too? If so, it is toast and needs to be replaced. How long has it been since the O2 sensor was replaced? Also, what year is the computer that runs it and what year is the engine?