There's no semantic difference, only stylistic one, as long as being used to write the word .
is the primary choice because this is the original kanji designated for the word. didn't have this reading until the word ( or ) was coined, but you're allowed to use it in order to add some different flavor, too.
As an aside, technically neither of and means "yearning" separately. The former is "wander" and the latter is "go far". A dictionary says that was created to translate German _Sehnsucht_ , which sounds likely to me.