Is an ECM and ignition switch the same part difference on a jeep wrangler 1990 2.5?

No! The ECM is the Electronic Control Module (Computer), sometimes called ECU, Electronic Control Unit. The ignition switch is just that, the switch that controls the engine ignition, the power to the starter, starting and shutting the engine off, and power to the accessories.