I have not played with an Accords TPS, if it's anything like a Civic's, it's probably on the TB. It will also most probably require an adjustment. Before you take the TPS off, take a reading with a multi meter on what voltage it sees with the TB completely closed. Write that down. Take a reading with the TB wide open, and write that down. When you swap the TPS, realign it so it sees those settings. That is how you do it on a Civic, probably the same on the Accord.
For Civic's the readings are .5 volts with the TB closed, and 5.0 volts with the TB wide open.