A man has admitted to shooting the former PM during a campaign event in the city of Nara, police say.