A quick google search reveals iron ore to be about 5,000 kg/m3. Obviously your fictional ore can be more or less than that. Water is 1,000 kg/m3. Anything less than that will float, more will sink.
Cornflake is right, that the ore doesn't really "weigh" anything. It does have mass which is greatly affect the ability of your spaceship to accelerate (including taking longer to slow down and turn).
One thing to note, for credibility purposes. Most fuel sources are highly engineered or controlled to only combust/fission/fusion in exactly the right circumstances at exactly the right rate. For instance, it is impossible, for all intents and purposes, to turn a nuclear reactor into a fission bomb.
High explosives and ammunition is similarly very stable and safe to transport. Not as safe as jelly beans, but not like the old westerns with a crate of nitro glycerin in the back of a stagecoach.
Likely your spaceship fuel would be under similar constraints - probably very difficult to impromptu turn into a bomb.
Then again, it could be as simple as hydrogen. We did blow up a space shuttle or two with that stuff. Whoops.
Edit: If these spaceships go any sort of meaningful distance (e.g >Earth-Mars distance) or near relativistic speeds, the energy density of your fuel is likely going to be very high (or you need a really, really big gas tank). Anything with a extremely high fuel density that goes easily boom in the wrong circumstances is pretty much suicide. Even taking the plastic explosive analogy (highly explosive, very stable, easy to detonate with the right equipment) - you wouldn't ship a cargo ship of the stuff across the galaxy without some extreme precautions, just like the military doesn't throw a truckload of c4 on the highway, high five the driver, and say good luck. Just food for thought on your bomb idea.