It sounds like the new job is literally everything you want and the old job is literally everything you don't want.
The fact that you're asking this question means that there's some red flags that may not be disclosed in this post it seems to me.
Take the new job. If it works out then you win, if not then you can get a tech job in under a month or maybe the old place will take you back.