The past tense of substitute for is substituted for.
The third-person singular simple present indicative form of substitute for is substitutes for.
The present participle of substitute for is substituting for.
The past participle of substitute for is substituted for.