Is this a Scion? Its my experience if you change anything to disconnect the battery for 15 minutes, then connect, start it and leave it idling for a half hour so it relearns everything.
Sounds kind of odd a national car dealer would go through the trouble to add a resistor vs just replace the whole ecu.