Unless there's something unusual about travel to Japan you should be able to check them all the way through. Coming back, you'll check them all the way but will have to collect your bags at the port of entry to clear customs then drop them off to be taken to your onward flight.