I would fix the transmission in the truck then sell it and buy the blazer and have enough money left over to get it painted. Unless the truck is a ragged out doesn't seem like a great trade.
hmmm how many miles on the 98?
reg cab extended etc?
And what the K5 like,....if its got tons custom 4 link and a bullet proof drivetrain may not bee a bad deal.