
y_tj = B_0 + B_1*X_j + B_2*X_tj + B_3*time_tj + B_4*X_j*time_tj + u_1j*time_tj + u_0j + e_tj
So there's an overall intercept, slope on X_j, slope on X_tj, slope on time, slope on the interaction between X_j and time, and three random erros (residual error, a random intercept by j, and a random time slope by j).
In R, this could be fitted using: lmer(y ~ Xtj + time*Xj + (time | group), data=dat) or using other functions, such as MCMCglmm.