A former labor minister and novelist from the governing party was decisively elected president of Costa Rica in a runoff on Sunday, holding off an evangelical Christian singer who had built an upstart campaign in part on his opposition to same-sex marriage.
