I have a 1994 toyota corolla DX 7afe manual it cranks but wont start it has new distributor and wires, new fuel pump and all fuses and relay seam to be working it had its ecm replaced before all dash light come on like normal it cranks but has no power to distributor or to fuel pump what could it be? crank position sensor?

No. 1-1

If it has no power to the distributor or coil get yourself a wiring diagram of the ignition system and start tracing it back - check fuses first - good luck and stick to it