Feedback Solution to Optimal Switching Problems with Switching Cost