Step 1: Rearrange:
$0 = \Delta H - T\Delta S$, so $T\Delta S = \Delta H$.
Step 2: Substitute:
$T = \frac{40 \times 10^{3}\ \text{J}}{80\ \text{J K}^{-1}} = 500$ K.
Check: $T \Delta S = 500 \times 80 = 40000$ J, which equals $\Delta H$, so $\Delta G = 0$ as required.
Final Answer:
$T = 500$ K, option (A).
\[ \boxed{500\ \text{K}} \]