That setup may or may not use a temp switch. If it's TBI, it may use the drop in vacuum (MAP sensor voltage) of the EGR opening to signal the ECM that it is working.
If you look at the wiring diagram, you can probably provide 12V in and a ground, to operate the EGR solenoid. Make sure it's got power (or ground) where it's supposed to, if it does, I'd test the solenoid itself.
Also I'd check the EGR for free movement, if it doesn't open when commanded, it would obviously trigger that code. Lastly I'd check the EGR passage, lots of these end up completely plugged from carbon.