MS3 , Multiport & turbo build

Not OP, but I'll give some info. First a link for a slant-six. DIYautotune sells megasquirt parts.
Adding a camshaft position sensor and a crankshaft position sensor to an older engine

A stationary sensor which magnetically triggers off a rotating part on the camshaft, it is termed "camshaft sensor", and most/all current engines have that. A rotating assembly, driven off the camshaft by a gear is termed "camshaft synchronizer". Some older engines were retrofitted with that, for sequential EFI and coil-per-plug spark upgrades. The Jeep 4.0L is the later. A few, like the Dodge Magnum (and 1985-95 Chevy small block?) still had a spark distributor above the cam sensor so are just termed "distributor".

This link discusses the 2005-6 Jeep 4.0L synchronizer. With the 4 slot patterns, you need a programmable processor like megasquirt to figure cam position via software. https://wranglertjforum.com/threads/help-with-camshaft-synchronizer-install.16477/

From 1999-2004, Jeep used a simpler synchronizer, with just an on/off signal per rev. That would be easier to use with a Ford EDIS "wasted spark" processor if you add custom digital circuitry to not fire the spark on the exhaust stroke if a single coil (like Chevy LS coils vitamindart uses), or in software if a Megasquirt processor.

I have the unit in the photo below, which is likely a camshaft synchronizer, but I don't know the engine. Not a 1998 Jeep since they had a distributor with internal cam sensor. It has a spinning magnet, but can't tell how many poles, and 3-terminal sensor (nonmagnetic) so likely a Hall-effect type. Came in a bag of misc. auto parts at a thrift store for $3. A search of "camshaft synchronizer" on rockauto turns up many for 1996-2006 Ford which look similar to the 1999-04 Jeep synchronizer, but not the part I have. Would be great if anyone knows, since I wouldn't invest time making adapters for a slant without knowing the part. No markings other than a few numbers ("94 01").

camshaft sensor.jpg.

camshaft sensor innards.jpg