Don't replace the shock, but have it repaired.
I bought the 2008 WR-250X I once rode used in December of 2010, if I recall.
When I tore into the bike, I noticed there was shock oil leaking past the shaft seal.
I sent the shock to Go Race Suspension in VW. for repair, and it then worked perfectly for the time I rode the bike.