Kakashi could be important too. He has a lot of knowledge and experience, and in the past, he could use his future - learned wisdom to mentor the younger versions of Naruto and Sasuke even more effectively. Also, characters like Sakura could use her medical skills in new ways in the past, perhaps saving lives that were lost in the original timeline.
Obviously Naruto would be one of the key characters. Since it's about his generation going back in time, he would be central to any attempts at changing the past. His knowledge and his will to protect his village would drive many of the actions.
Obviously, Naruto and Kurama are going to be main characters. Since it's about Kurama going back in time, he'll be central to the story. Naruto will also be important as Kurama's jinchuriki and the one whose life Kurama is likely to impact. Minato might also be a significant character as he was Naruto's father and had a major role in the original story. And there could be appearances from other key characters like Sasuke, as Naruto's relationship with him was a big part of the original Naruto series.
Gohan will most likely encounter other Z - fighters like Krillin and Tien. They were all part of the group back then. Also, there's a good chance he'll meet Master Roshi. Roshi was a key figure in Goku's training, so his interaction with Gohan could be really interesting. He might also come across Bulma, who was always involved in the Dragon Ball story, either by accident or because he needs her help with some time - related technology or something.
Naruto would be a very likely character to interact with Hinata. Since they have a strong connection in the original story, in a time - travel scenario, their relationship could develop in new and interesting ways. Maybe Hinata could be more open with her feelings earlier in time.
Sasuke is also very popular. As Naruto's friend and rival, many fanfictions explore how their relationship would be different if Naruto had a second chance. For example, Sasuke might be more open to Naruto's friendship earlier due to Naruto's new approach influenced by his future knowledge.
Well, in such a fanfiction, the characters might try to change past events. For example, Naruto could prevent some of the early tragedies in his village. Maybe he'd stop the Nine - Tails attack by somehow convincing his father not to sacrifice himself. This would change the whole future of the village and the relationships between characters.
Boruto is very likely to be one of the main characters. As the son of Naruto, he has a strong connection to the original story and would be a natural choice for a time - traveling adventure. Sarada, being Sasuke's daughter, would also be a key character. Her skills and her relationship with Boruto could drive the story forward in many ways.
Definitely Hagrid. Hagrid has always been around Hogwarts and has a connection to the students. Sirius could interact with Hagrid if he goes back in time. Maybe Hagrid could help Sirius in some way, like providing shelter or information. And Bellatrix Lestrange could also be in the picture. Since she is part of the Black family, Sirius might have to deal with her in the past, either to try to change her or to stop her from doing something evil.
Definitely Hermione. Since she's Harry's closest friend and very intelligent, she would be deeply involved in any changes Harry tries to make. Also, Snape. Harry's actions in the past could completely change his relationship with Snape. And of course, Voldemort. If Harry goes back far enough, he could potentially stop Voldemort's transformation into the evil wizard he became.
Bellatrix Lestrange could also be a character who interacts with Snape. If Snape goes back far enough, he might try to influence Bellatrix's path and keep her from becoming such a devoted Death Eater. This could have a major impact on Voldemort's power and the overall balance of the wizarding world.
In this fanfiction, Naruto will surely interact with his friends who might be trying to break him out or at least communicate with him from the outside. Inside the prison, he'll encounter inmates with diverse personalities. There could be a wise old prisoner who imparts some valuable wisdom to Naruto. Also, there may be a group of inmates who form a sort of gang within the prison, and Naruto has to either fight them or make peace with them depending on the situation. And of course, there could be a mysterious figure who seems to know more about Naruto's presence in the prison than he himself does, and Naruto will have to figure out this person's motives and identity.