YES it will BUT I dont recommend it. There should be no reason to need to use RTH especially at night ....using RTH usually means you cant see the Drone. Night or Day you should never let yourself get into a situation where you need to use RTH.
You still need to use caution like always BUT at 8 miles you should be just fine flying where you are. An airliner on final approach will be above the legal 400 ft limit at 8 miles away anyway.