The crankshaft position sensor (CKP sensor) on a 1995 Pontiac Trans Am with a 350 (likely a LT1) engine is located on the
passenger side of the engine block,
near the front of the engine,
below the distributor (if equipped). It's usually mounted on the engine block itself and points toward the crankshaft pulley.
However, precise location can vary slightly depending on the exact engine configuration and any modifications. It's best to consult a repair manual specific to your 1995 Pontiac Trans Am LT1 engine. A visual inspection using a diagram from a repair manual is strongly recommended for accurate identification.