You're *most* likely to find a suitable replacement with a 3.4L V6 from another 1999-2003 GM vehicle. These years used very similar, if not identical, versions of the 3.4L. Look for engines from:
* Other Pontiac models: Grand Prix, Bonneville (though you'd need to verify the specific engine series).
* Oldsmobile models: Alero, Intrigue, Aurora (again, engine series verification crucial).
* Chevrolet models: Some models from this era may use similar engines, but compatibility is less certain.
Crucially: You absolutely MUST verify the specific engine code (found on a sticker on the engine block itself, often near the valve cover) to ensure compatibility. Even within the 3.4L family, there are variations. Different engine codes signify differences in internal components, sensors, and other features that will affect whether or not it's a straightforward swap.
Swapping engines is a complex undertaking. It's not a simple plug-and-play situation. You'll likely need to transfer various components (sensors, wiring harness, etc.) and possibly even modify parts to ensure everything fits and functions correctly. An incorrect engine choice can result in a costly and frustrating experience. It is strongly recommended to consult a mechanic experienced with GM engine swaps.