Deboarding at 4 am is safe not to worry. But at that time it will be isolate.
For transport you have to take ola, uber or conveyance which can be available at that time.
Regarding, station location it is not outside of city, it is located on south side of city.