All you have to do for foam is make it slightly lighter than the specific weight of the water, typically for a 2000 # boat, 10cu.ft. will do the trick...Use the two part closed cell foam from like Tap Plastics, I like the 40:1 stuff...I gallon makes 40 gallons worth. I put it in the gunwales and some in the bow, the idea is to let the transom sink first, the bow will hold air on a closed deck deal...
Also a river racer trick, get a float ball like you would use for an anchor and tie it off to 100' of 3/8" nylon rope and leave it in the stern tied to something strong (motor mount), if it does sink, the ball will get to the surface so you can recover the boat

Or.....................................
..............don't sink the boat...
You guys keep laughing, but a big shop vac and a gas powered weed wacker always worked for me to get the old stinky foam out....Takes under an hour and you can go right down to the fiberglass

GT