Does 跟 and 和 sounds the same meaning in this case?
Both '跟' and '和' contain the meaning of 'and/ with'

Therefore, both &quot;我今天跟妈妈去买菜&quot; and &quot;我今天和妈妈去买菜&quot; can be interpreted as &quot;My mother and I go to buy food ingredients today&quot;

But '跟' also contains the meaning of &quot;follow&quot;

Therefore, &quot;我今天跟妈妈去买菜&quot; can be interpreted as &quot;I follow my mother to go to buy food ingredients today&quot;
the problem is writing '我今天' makes  '我' the subject, and '跟妈妈去买菜' the verb phrase; instead of '我跟妈妈' being the subject and '去买菜' being the verb

If you want to avoid the confusion, you should write &quot;我跟妈妈今天去买菜&quot; or &quot;我和妈妈今天去买菜&quot;(I and my mother go to buy food ingredients today)

'我跟妈妈' (I and my mother) -  would clearly be the subject

in '我今天跟妈妈去买菜',  '我' would be the subject, and  '跟妈妈去买菜' could mean 'follow my mother...' or 'with my mother...'

if you wrote '我今天和妈妈去买菜', even the subject is still '我' but '今天和妈妈去买菜' can only mean &quot;go to buy food ingredients with my mother today&quot;