SInce its an RF trip, try doing this-( assuming you have not travelled on this route before.)
SBC- Miraj- PVR- Kurduvadi/SUR-CSTM and then DR JS as you have planned.
From Kurduvadi/Solapur you have 2-3 train in the evening which reach Dadar before 5 am.