NO NO NO NO NO NO NO NO NO
you can rebuild a motor with the new block. this includes line-honing the block, decking it, boring it and honing it, new pistons, rings, bearings, and having your crank and rods machined. you CAN NOT simply swap blocks. once the motor has been run, the pistons, rings, etc wear into the cylinder bores.
your 98 is a roller motor, the 87 is not.
if your on a budget, go to car-part.com, find a 1996 or newer truck with a 350 in it that is running with low mileage and buy the long-block from them. then get new marine head gaskets, new brass core plugs and bolt on all your marine accessories (including the circulating pump) and you have a marine motor. for about $500
you will need NEW manifolds and elbows as if your block is cracked, most likely your manifolds and elbows are too