The Metropolitan Transportation Authority is investigating whether a contractor was responsible for an electrical problem that caused extensive New York City subway delays Wednesday afternoon, a person briefed on the matter said.

The contractor was performing work at the Rail Control Center, the subway system’s nerve center in Midtown Manhattan, this person said.

An...