how do i replace the egr spacer on my 87 gt ?????

The studs go through the EGR spacer into the intake.

Unbolt the 4 nuts on the TB, take the TB off. Then either pry between the intake and EGR spacer gently or whack it with a rubber mallet to break the EGR spacer loose from the intake.

Then you'll need a pipe wrench or vice grips to spin out the studs.