An employee was cleaning an electrical component in a de-energized substation. Another crew was providing power to an electrical pump motor. The alternate power was from another substation and energy source. A closed switched allowed the electricity to flow back to where the injured employee was working.