Shadowing and volunteering can generally be done whenever - throughout the year, over the summers, whatever is most convenient for you.
The DAT (usually) gets taken over the summer - in my opinion the ideal time to take it is at the end of sophomore year after completing one's pre-requisite courses. The other popular tile to take it is over the winter break, which gives you less time to study.