Ownership isn't as important as the actual ACLs, but I wouldn't go changing the information without backing it up. Which files are you trying to change?
As to the long S-#'s these SID or Security Identifiers. Every user and group has an associated SID and these are really what ACLs are based on the human readable names are just that "human readable" the OS uses the SIDs to identify access.
Code snippets for powershell. The first to save ownership information and the second to restore the owners. This would save owners for everything in C:\. You can change line 4 to any path you would want to save and restore.
Code:
# Create Ownership Audit
$ownershipAudit = "$env:USERPROFILE\Desktop\Ownership-Audit.log"
$files = Get-ChildItem -Path...