Are you connecting from a domestic or internaional flight? And is it 4 or 5 hours?
If you don't want to stray from the airport, you could:
Catch a movie at the
Jaga Pokkuri Theatre.
Try the flight simulator in the airport
museum.
Visit the
Doraemon attraction. (

)
Visit the
airport onsen.
Or kill time at a restaurant.