With the amount of time you have, I would take a trip to Narita-san (成田山) Temple. It is a wonderful property to wander through with some great gardens. Afterward walk back down to the rails (nice walk with some great shopping along the way) to catch a train back to the airport.