解$:(2)$由题意,得$p=500-10(x-50)=-10x+1000,$
∴$W=(x-40)(-10x+1000)=-10x²+1400x-40000=-10(x-70)²+9000.$
∵$-10<0,$
∴当$x<70$时$,W $随$x$的增大而增大$.$
∵每盒的售价不得少于$50$元,日销售量不少于$350$盒,
∴$\begin {cases}{x≥50,}\\{p≥350}\end {cases}$即$\begin {cases}{ x≥50}\\{-10x+1000≥350}\end {cases}$
解得$50≤x≤65.$
∴当$x=65$时,$W $取得最大值,此时$W=8750.$
∴当每盒的售价定为$65$元时,日销售利润$W($元$)$最大,最大利润是$8750$元