QUICK ANSWER
"En tu lugar" is a phrase which is often translated as "if I were you", and "yo" is a pronoun which is often translated as "I". Learn more about the difference between "en tu lugar" and "yo" below.
en tu lugar(
ehn
too
loo
-
gahr
)A phrase is a group of words commonly used together (e.g., once upon a time).
1. (informal) (in your situation)
A word or phrase used to refer to the second person informal “tú” by their conjugation or implied context (e.g., How are you?).
a. if I were you
En tu lugar, yo me mudaría a otro apartamento.If I were you, I'd move to a different apartment.
b. in your place
Intento ponerme en tu lugar para entender por qué actuaste de esa manera.I try to put myself in your place to understand why you acted the way you did.
2. (informal) (in your location)
A word or phrase used to refer to the second person informal “tú” by their conjugation or implied context (e.g., How are you?).
a. in your place
Quédate en tu lugar. Voy a averiguar por qué se cortó la luz.Stay in your place. I'm going to check out why the power went out.
yo(
yoh
)A pronoun is a word that stands in for a noun (e.g., she).
A masculine noun is used with masculine articles and adjectives (e.g., el hombre guapo, el sol amarillo).
3. (psychology)