Did you perform the TB relearn after you hooked the battery back up? You must do this.
Unhook NEG battery cable
Remove harness from TB
Perform cleaning
Attach TB harness
After 30 min of having the battery unhooked, reattach NEG terminal.
Turn key to ON with all the dash lights on. DO NOT START AND DO NOT TOUCH GAS PEDAL TB will perform series of noises during this time.
Leave key ON for about 5 minutes. Do not turn key off.
Start engine DO NOT TOUCH GAS PEDAL let idle for 10 min.
Drive around for awhile, get beer.