About the only parts that will interchange between a Pontiac and a Chevy is the distributor cap.
Pontiac 400 are pretty torque engines, especially with a little work done. Like all the smog engines of the era, they were all detuned with low compression, lazy camshafts, and restricted exhaust.
If you don’t have a engine for your truck, then it might be worth it do the swap. The Chevy trans won’t bolt to the Pontiac, but adapter plates are available. Engine mounts will need to fabricated, along with some wiring changes. I have no clue if the water pump/ thermostat outlets would be the same size, so same hoses or radiator work might be needed.
Unless you just want some Tin Indian power under the hood, it would be far easier to find a Chevy engine.