How it works
一緒に (together) works as an adverb describing how the action is done; the に ((adverb marker)) here is what turns 一緒 (together) into "together-ly". The verb 走る (run) is the plain dictionary form, and the rising ? (?) makes it a casual invitation — "shall we run together?".