You should check the NRT airport website for this information (minimum connecting time)
If the time is too tight, Contact your ticket provider for options.
There will be a security checkpoint for transfer passengers. It has never been too busy at NRT in my experience.