He last featured in the first-team against Tranmere at the end of January and has suffered with back-related problems ever since.
However, Shelley played 65 minutes as an Alex second string won 3-2 at Chester on Wednesday courtesy of goals from Clayton Donaldson, Kelvin Mellor and Alex Titchiner.
"It is good news because it is the first time Danny has been involved this season. He's had all kinds of problems related to his old injury when he hurt his back," said Crewe boss Gudjon Thordarson.
"It ended up with him not having the right balance in his hips and other injuries were flaring up as a result of that. But he is fit again and it will be nice to have another name in my squad because it is a small one."