i'd just replace it. If it's been outside, you probably had some rain water enter the box.
Even if cycled, your sand could leech out some unwanted chemicals (if left in the rain).
Just mix the sand w/ your garden and pick up some bags of sand. If your adding this to an established system, your old sand will seed the newer sand. If using in a new system, add some sand from an established system to help seed.
Good luck.