In a small pot off the heat, whisk together the sugar and cornstarch. Add the eggs and mix well. Stir in the milk. Bring to a boil over medium heat, stirring constantly and scraping the bottom and sides of the pot, just until the mixture thickens. Remove from the heat. Add the cream cheese and mix until melted and smooth. Return to the heat to completely melt the cheese, if necessary.