A former railway station is to be converted into a holiday let.