I doubt its the Router making your computer shutdown. It could be some other service (like BackUp) that gets activated in your home but not in your school. Just guessing.
Its difficult to analyze the problem without knowing your windows environment as in what processes/services are running, etc. Can you please post a detailed log of your computer with some software like HijackThis?