I ended up deleting the UObject and created a new one for testing purposes. For some reason, this improved compilation time significantly.
I also did some other testing. The switch statement itself isn’t increasing compilation time, it is the NSLOCTEXT(" ", " ", " ") macro.
Each case in my switch statement was basically setting three text variables. So, that was about 1600 NSLOCTEXT() macro calls. Removing one macro would significantly decrease compilation time in a non-linear way. This can be an issue with macros and Visual Studio:
Anyways, long story short, if someone is going to set a bunch of FText variables with the NSLOCTEXT macro, he or she should probably expect compilation time to significantly increase.
Thanks AdeptStrain for trying to help out!