I just had a similar layover
I took the train into Narita town.... looked around the shops and temple, had a nice lunch.... I ran out of things to do after about 4 hours... went back to NRT, checked out the observation deck and mall pre-security, then hung out in a few lounges. 10 hours is enough time to go into Tokyo itself... The Skyliner to Uneo is probably your best bet.