You could randomize a number, and that random number be == to a variable temp.
EX:
random(100); //get number
random == temprand; //something that works like this..
Then after it's set to a variable you can then open up a text document (like Guitar said) and have it go to the line that the random number said, so something like this:
Go To Line Number #TempRand //Not in code form but you can interpret it somehow
Then it can pick up that name randomly and simple...all you have to do mainly is place all the names in a text. If I had more time and wasn't so tired, or in a rush to get to sleep before waking up for work, I would do a sample for you.
Sorry if I wasn't much help.