Keep in mind that it is a thought experiment. Its presence and its charge (both sign and magnitude) are a given.If there is only one charged particle in the entire universe, there is no way to determine that it has a charge because there is nothing for that charge to interact with.
ak