From the 2005 Toyota Tacoma Shop manual. I don't have one so I cannot look up what may be involved. I do think making the change would require cutting and splicing some existing wiring.
I don't know if your foglights are relay controlled, if not adding them to the corner light circuit may overload the circuit. YOu may find it easier to disconnect the foglamps and add a switch and associated wiring to turn them on when you want them on. Clifton