When changing an engine out in a Chevrolet does the computer for the truck that works for a 350 engine work on a 305 engine?

yes. it should work fine.