Not a Toyota, but probably the same. My '99 wrx needed a new fuel pump, got a DW200, came with a wiring loom that meant I could plug it straight to the standard plug. So I used it.
However the factory loom piece had this little black box plugged into the side, not in line and I don't know what it does or if it's needed. The car seems to run fine, but maybe someone could enlighten me.